Optimize get_current_ioprio() a bit
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: move __get_task_ioprio() into header fileblock/ include/ | +24 | 3 replies | |
| 2/2 | block: make __get_task_ioprio() easier to readinclude/ | +4 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Bart Van Assche | Chaitanya Kulkarni |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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