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-08-30 22:43:58 -07:00
2019-12-04 11:08:30 -08:00
2019-11-30 10:33:14 -08:00
2018-06-07 17:34:36 -07:00
2019-09-24 15:54:08 -07:00
2019-09-04 13:40:49 -07:00
2019-09-17 15:20:17 -07:00
2019-09-24 15:54:12 -07:00