diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-12-26 08:14:54 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-01-21 03:04:02 +0300 |
commit | db08ca25253d56f1f76eb4b3fe32a7ac1fbab741 (patch) | |
tree | dbc1e5c53c3ad54c4841441c8bff13484d034f06 /include/uapi/linux | |
parent | 4840e418c2fc533d55ff6caa5b9313eed1d26cfd (diff) | |
download | linux-db08ca25253d56f1f76eb4b3fe32a7ac1fbab741.tar.xz |
mm: make do_madvise() available internally
This is in preparation for enabling this functionality through io_uring.
Add a helper that is just exporting what sys_madvise() does, and have the
system call use it.
No functional changes in this patch.
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions