Home
last modified time | relevance | path

Searched hist:b99182c5 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dbio.cb99182c5 Wed Nov 02 10:18:22 CDT 2022 Pavel Begunkov <asml.silence@gmail.com> bio: add pcpu caching for non-polling bio_put

This patch extends REQ_ALLOC_CACHE to IRQ completions, whenever
currently it's only limited to iopoll. Instead of guarding the list with
irq toggling on alloc, which is expensive, it keeps an additional
irq-safe list from which bios are spliced in batches to ammortise
overhead. On the put side it toggles irqs, but in many cases they're
already disabled and so cheap.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c2306de96b900ab9264f4428ec37768ddcf0da36.1667384020.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>