]> 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)
commit6696e508cca2e9adf86f163da03f79445df26c0a
tree3cf6b7cd0f583c4f22afd609e5f2776c0997ee02
parent430cc8d5ed399b1bce9a23b2f187831c43b1fa15
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