From: "Drew DeVault" <sir@cmpwn.com>
To: <io-uring@vger.kernel.org>
Subject: Is IORING_REGISTER_BUFFERS useful given the current default RLIMIT_MLOCK?
Date: Mon, 25 Oct 2021 15:58:33 +0200 [thread overview]
Message-ID: <CF8JHZUUYC1O.3DU8635RE8FSX@taiga> (raw)
The current default for RLIMIT_MLOCK is set to 64 KiB. This is not much!
This limit was set to this value in 2008 at the request of GnuPG.
I understand that the main audience of io_uring is high-performance
servers and such, where configuring the rlimits appropriately is not a
particularly burdensome ask. However, this dramatically limits the
utility of IORING_REGISTER_BUFFERS in the end-user software use-case,
almost such that it's entirely pointless *without* raising the mlock
rlimit.
I wonder if we can/should make a case for raising the default rlimit to
something more useful for $CURRENTYEAR?
next reply other threads:[~2021-10-25 13:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-25 13:58 Drew DeVault [this message]
2021-10-25 15:42 ` Is IORING_REGISTER_BUFFERS useful given the current default RLIMIT_MLOCK? Vito Caputo
2021-10-26 7:12 ` Drew DeVault
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=CF8JHZUUYC1O.3DU8635RE8FSX@taiga \
--to=sir@cmpwn.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.