diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2025-05-15 10:39:23 -0700 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-05-21 09:34:29 +0200 |
commit | 98a6ca16333e10ce450b0ab516f4c3e5fe52ef31 (patch) | |
tree | 9004a39d39aa98d7e316f19e8d6a91504c81d8b7 /scripts/bpf_doc.py | |
parent | fb27226c389f499d04913023fbcfb7920fb0e475 (diff) |
fs/buffer: avoid redundant lookup in getblk slowpath
__getblk_slow() already implies failing a first lookup
as the fastpath, so try to create the buffers immediately
and avoid the redundant lookup. This saves 5-10% of the
total cost/latency of the slowpath.
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/20250515173925.147823-3-dave@stgolabs.net
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions