commit | c1ca757bd6f4632c510714631ddcc2d13030fe1e | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Dec 25 22:18:28 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jan 20 17:04:02 2020 -0700 |
tree | 7212cc1b906dd229aa82973923039eb929a56479 | |
parent | db08ca25253d56f1f76eb4b3fe32a7ac1fbab741 [diff] |
io_uring: add IORING_OP_MADVISE This adds support for doing madvise(2) through io_uring. We assume that any operation can block, and hence punt everything async. This could be improved, but hard to make bullet proof. The async punt ensures it's safe. Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>