io_uring: do not recalculate ppos unnecessarily
There is a slight optimisation to be had by calculating the correct pos pointer inside io_kiocb_update_pos and then using that later. It seems code size drops by a bit: 000000000000a1b0 0000000000000400 t io_read 000000000000a5b0 0000000000000319 t io_write vs 000000000000a1b0 00000000000003f6 t io_read 000000000000a5b0 0000000000000310 t io_write Signed-off-by:Dylan Yudaken <dylany@fb.com> Reviewed-by:
Pavel Begunkov <asml.silence@gmail.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
-
mentioned in commit 3ad7306a
-
mentioned in commit ef9f28e4
-
mentioned in commit 1f057dca
-
mentioned in commit 0686f450
-
mentioned in commit ff3c3ecd
-
mentioned in commit 2faa62c2
-
mentioned in commit be583834
-
mentioned in commit 69dc6806
-
mentioned in commit f51b5376
-
mentioned in commit de5660ac
-
mentioned in commit 9c978414
-
mentioned in commit a2aacb04
-
mentioned in commit 0926f1f0
-
mentioned in commit b8449a72
-
mentioned in commit 0e82a04a
-
mentioned in commit 8ef74aeb
-
mentioned in commit ae387b6a
-
mentioned in commit 46cd8878
-
mentioned in commit 19f09203
-
mentioned in commit c7e0a6d8
-
mentioned in commit b29c3573
-
mentioned in commit b29c3573
-
mentioned in commit 403642c0
-
mentioned in commit 339a6180
-
mentioned in commit 41906fef
-
mentioned in commit 9b9e6a7b
-
mentioned in commit e32433b2
-
mentioned in commit 059eb6bc
-
mentioned in commit 85bff670
-
mentioned in commit fd128a62
-
mentioned in commit 8331f4ac
-
mentioned in commit b09f4063
-
mentioned in commit 9cd655bd
-
mentioned in commit 16509eaf
-
mentioned in commit 1822586c
-
mentioned in commit c1953810
-
mentioned in commit edab9871
-
mentioned in commit b1ee5ea4
-
mentioned in commit b54f1994
-
mentioned in commit f436491d
-
mentioned in commit a3796b80
-
mentioned in commit d2633746
-
mentioned in commit 303b40f5
-
mentioned in commit a663647a
-
mentioned in commit 73f8066e
-
mentioned in commit 249755d5
-
mentioned in commit ec4363ab
-
mentioned in commit 3a4f67f9
-
mentioned in commit 630c3722