Jens Axboe db08ca2525 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>
2020-01-20 17:04:02 -07:00
..
2019-11-30 14:35:43 -08:00
2019-11-27 17:45:48 -08:00
2019-12-17 14:18:32 +01:00
2020-01-20 17:04:01 -07:00