commit | db08ca25253d56f1f76eb4b3fe32a7ac1fbab741 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Dec 25 22:14:54 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jan 20 17:04:02 2020 -0700 |
tree | dbc1e5c53c3ad54c4841441c8bff13484d034f06 | |
parent | 4840e418c2fc533d55ff6caa5b9313eed1d26cfd [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>