All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Pavel Begunkov <asml.silence@gmail.com>, io-uring@vger.kernel.org
Subject: Re: [PATCH] io_uring: increase max number of reg buffers
Date: Fri, 14 May 2021 08:42:43 -0600	[thread overview]
Message-ID: <e5a87242-fc97-3c1b-24ab-c6f01f1032f5@kernel.dk> (raw)
In-Reply-To: <d3dee1da37f46da416aa96a16bf9e5094e10584d.1620990371.git.asml.silence@gmail.com>

On 5/14/21 5:06 AM, Pavel Begunkov wrote:
> Since recent changes instead of storing a large array of struct
> io_mapped_ubuf, we store pointers to them, that is 4 times slimmer and
> we should not to so worry about restricting max number of registererd
> buffer slots, increase the limit 4 times.

Is this going to fall within the max kmalloc size?

-- 
Jens Axboe


  reply	other threads:[~2021-05-14 14:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 11:06 [PATCH] io_uring: increase max number of reg buffers Pavel Begunkov
2021-05-14 14:42 ` Jens Axboe [this message]
2021-05-14 14:51   ` Jens Axboe
2021-05-14 14:51   ` Pavel Begunkov

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=e5a87242-fc97-3c1b-24ab-c6f01f1032f5@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@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.