]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: track mm through current->mm
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 11 Apr 2020 23:05:02 +0000 (02:05 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 12 Apr 2020 14:46:30 +0000 (08:46 -0600)
commit331e6c8332ff08ade24c3f0d8865a26e5cbfaaaa
tree3cf6b7cd0f583c4f22afd609e5f2776c0997ee02
parent992895ed525a824355de7a24cc5fed43c687d981
io_uring: track mm through current->mm

As a preparation for extracting request init bits, remove self-coded mm
tracking from io_submit_sqes(), but rely on current->mm. It's more
convenient, than passing this piece of state in other functions.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c