]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: mark having different creds unlikely
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 24 Sep 2021 20:59:41 +0000 (21:59 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:53 +0000 (05:49 -0600)
commitdde5f70922b59e36ef1af3b4f9bc59546de9cd4a
treee229f061f5f1721d1ee7e0267391768d26640a0e
parent5d6427b245fd44d07165929fe68f6e901576aedc
io_uring: mark having different creds unlikely

Hint the compiler that it's not as likely to have creds different from
current attached to a request. The current code generation is far from
ideal, hopefully it can help to some compilers to remove duplicated jump
tables and so.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e7815251ac4bf5a4a23d298c752f029ae19f3837.1632516769.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c