]> Git Repo - linux.git/commit
fs: optimise kiocb_set_rw_flags()
authorPavel Begunkov <[email protected]>
Sat, 1 Aug 2020 10:36:33 +0000 (13:36 +0300)
committerJens Axboe <[email protected]>
Sat, 1 Aug 2020 17:02:00 +0000 (11:02 -0600)
commit1752f0adea98ef859978c090e0726844348758f9
tree8aba110d49827532706a9646c45557e70a07243a
parentd1719f70d0a5b83b12786a7dbc5b9fe396469016
fs: optimise kiocb_set_rw_flags()

Use a local var to collect flags in kiocb_set_rw_flags(). That spares
some memory writes and allows to replace most of the jumps with MOVEcc.

Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
include/linux/fs.h
This page took 0.055517 seconds and 4 git commands to generate.