public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: [email protected], Chenliang Li <[email protected]>
Cc: [email protected], [email protected],
	[email protected],  [email protected],
	[email protected], [email protected]
Subject: Re: [PATCH v8 0/2] io_uring/rsrc: coalescing multi-hugepage registered buffers
Date: Fri, 02 Aug 2024 07:11:03 -0600	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>


On Wed, 31 Jul 2024 17:01:31 +0800, Chenliang Li wrote:
> Registered buffers are stored and processed in the form of bvec array,
> each bvec element typically points to a PAGE_SIZE page but can also work
> with hugepages. Specifically, a buffer consisting of a hugepage is
> coalesced to use only one hugepage bvec entry during registration.
> This coalescing feature helps to save both the space and DMA-mapping time.
> 
> However, currently the coalescing feature doesn't work for multi-hugepage
> buffers. For a buffer with several 2M hugepages, we still split it into
> thousands of 4K page bvec entries while in fact, we can just use a
> handful of hugepage bvecs.
> 
> [...]

Applied, thanks!

[1/2] io_uring/rsrc: store folio shift and mask into imu
      commit: cbca98cb933728bb5eee39ba6bfe184932931e3d
[2/2] io_uring/rsrc: enable multi-hugepage buffer coalescing
      commit: 04eedfc93ea1121bb6b00f27b14c58973f7de1c9

Best regards,
-- 
Jens Axboe




      parent reply	other threads:[~2024-08-02 13:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20240731090139epcas5p32e2fdac7e795a139ff9565d151dd2160@epcas5p3.samsung.com>
2024-07-31  9:01 ` [PATCH v8 0/2] io_uring/rsrc: coalescing multi-hugepage registered buffers Chenliang Li
     [not found]   ` <CGME20240731090143epcas5p2ade9e73c43ca6b839baa42761b4dc912@epcas5p2.samsung.com>
2024-07-31  9:01     ` [PATCH v8 1/2] io_uring/rsrc: store folio shift and mask into imu Chenliang Li
2024-07-31 23:09       ` Pavel Begunkov
     [not found]   ` <CGME20240731090145epcas5p459f36e03c78655d92b5bd4aca85b1d68@epcas5p4.samsung.com>
2024-07-31  9:01     ` [PATCH v8 2/2] io_uring/rsrc: enable multi-hugepage buffer coalescing Chenliang Li
2024-07-31 23:09       ` Pavel Begunkov
2024-08-02 13:11   ` Jens Axboe [this message]

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=172260426305.62322.9668566634481802792.b4-ty@kernel.dk \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox