From: Jens Axboe <axboe@kernel.dk>
To: linux-block@vger.kernel.org
Subject: [PATCHSET 0/2] Optimize get_current_ioprio() a bit
Date: Mon, 8 Jan 2024 11:59:54 -0700 [thread overview]
Message-ID: <20240108190113.1264200-1-axboe@kernel.dk> (raw)
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
next reply other threads:[~2024-01-08 19:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-08 18:59 Jens Axboe [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240108190113.1264200-1-axboe@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.