summaryrefslogtreecommitdiff
path: root/fs/nsfs.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-08-01 13:36:33 +0300
committerJens Axboe <axboe@kernel.dk>2020-08-01 20:02:00 +0300
commit1752f0adea98ef859978c090e0726844348758f9 (patch)
tree8aba110d49827532706a9646c45557e70a07243a /fs/nsfs.c
parentd1719f70d0a5b83b12786a7dbc5b9fe396469016 (diff)
downloadlinux-1752f0adea98ef859978c090e0726844348758f9.tar.xz
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 <asml.silence@gmail.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nsfs.c')
0 files changed, 0 insertions, 0 deletions