All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Begunkov <asml.silence@gmail.com>
To: linux-block@vger.kernel.org
Cc: Jens Axboe <axboe@kernel.dk>, asml.silence@gmail.com, hch@lst.de
Subject: [PATCH v2 0/2] bio put in-IRQ caching optimisation
Date: Wed,  7 Feb 2024 14:14:27 +0000	[thread overview]
Message-ID: <cover.1707314970.git.asml.silence@gmail.com> (raw)

Patch 1 is a preparation patch, which enables caching of !IOPOLL bios
for the task context execution.

Patch 2 optimise out local_irq_{save,restore}() from bio_put_percpu_cache()
for in-IRQ completions.

v2: Extend caching to the task context

    Move error path to the end of bio_put_percpu_cache(). It looks uglier,
    but I'm happy to make the change as long as it aligns with the community
    standards and helps folks around.

Pavel Begunkov (2):
  block: extend bio caching to task context
  block: optimise in irq bio put caching

 block/bio.c | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

-- 
2.43.0


             reply	other threads:[~2024-02-07 14:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 14:14 Pavel Begunkov [this message]
2024-02-07 14:14 ` [PATCH v2 1/2] block: extend bio caching to task context Pavel Begunkov
2024-02-07 14:14 ` [PATCH v2 2/2] block: optimise in irq bio put caching Pavel Begunkov
2024-02-08 17:19 ` [PATCH v2 0/2] bio put in-IRQ caching optimisation Jens Axboe

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=cover.1707314970.git.asml.silence@gmail.com \
    --to=asml.silence@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=hch@lst.de \
    --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.