aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-03-22 01:58:31 +0000
committerJens Axboe <axboe@kernel.dk>2021-04-11 17:41:59 -0600
commit1c98679db94155a145f8389f9aaee30c99dbbd5a (patch)
tree5c7926ecb6a34e2bc26f33b22d392aedb3cda67f /tools/perf/scripts/python
parentio_uring: kill unused REQ_F_NO_FILE_TABLE (diff)
downloadlinux-1c98679db94155a145f8389f9aaee30c99dbbd5a.tar.gz
linux-1c98679db94155a145f8389f9aaee30c99dbbd5a.zip
io_uring: optimise kiocb_end_write for !ISREG
file_end_write() is only for regular files, so the function do a couple of dereferences to get inode and check for it. However, we already have REQ_F_ISREG at hand, just use it and inline file_end_write(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions