All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET 0/2] Optimize get_current_ioprio() a bit
@ 2024-01-08 18:59 Jens Axboe
  2024-01-08 18:59 ` [PATCH 1/2] block: move __get_task_ioprio() into header file Jens Axboe
  2024-01-08 18:59 ` [PATCH 2/2] block: make __get_task_ioprio() easier to read Jens Axboe
  0 siblings, 2 replies; 9+ messages in thread
From: Jens Axboe @ 2024-01-08 18:59 UTC (permalink / raw)
  To: linux-block

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.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-09  3:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-08 18:59 [PATCHSET 0/2] Optimize get_current_ioprio() a bit Jens Axboe
2024-01-08 18:59 ` [PATCH 1/2] block: move __get_task_ioprio() into header file Jens Axboe
2024-01-08 19:24   ` Bart Van Assche
2024-01-08 19:27     ` Jens Axboe
2024-01-09  3:20   ` Chaitanya Kulkarni
2024-01-08 18:59 ` [PATCH 2/2] block: make __get_task_ioprio() easier to read Jens Axboe
2024-01-08 19:22   ` Bart Van Assche
2024-01-08 19:26     ` Jens Axboe
2024-01-09  3:23   ` Chaitanya Kulkarni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.