summaryrefslogtreecommitdiff
path: root/mm/page_idle.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-25 22:14:54 -0700
committerJens Axboe <axboe@kernel.dk>2020-01-20 17:04:02 -0700
commitdb08ca25253d56f1f76eb4b3fe32a7ac1fbab741 (patch)
treedbc1e5c53c3ad54c4841441c8bff13484d034f06 /mm/page_idle.c
parent4840e418c2fc533d55ff6caa5b9313eed1d26cfd (diff)
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 'mm/page_idle.c')
0 files changed, 0 insertions, 0 deletions