Skip to content

Optimize get_current_ioprio() a bit

Jens Axboe linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: move __get_task_ioprio() into header fileblock/ioprio.c include/linux/ioprio.h+24 -273 replies
2/2block: make __get_task_ioprio() easier to readinclude/linux/ioprio.h+4 -43 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBart Van AsscheChaitanya Kulkarni
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/2] Optimize get_current_ioprio() a bit

Hi,

Came across this one in some recent profiling, and it's actually quite grim:

+ 2.71% io_uring [kernel.vmlinux] [k] __get_task_ioprio ▒

Just do the easy thing and move it into the header so we avoid a function call per IO for this. Patch 2 is just a general cleanup.

Signature · 1 line
Jens Axboe