public inbox for [email protected]
 help / color / mirror / Atom feed
* Is IORING_REGISTER_BUFFERS useful given the current default RLIMIT_MLOCK?
@ 2021-10-25 13:58 Drew DeVault
  2021-10-25 15:42 ` Vito Caputo
  0 siblings, 1 reply; 3+ messages in thread
From: Drew DeVault @ 2021-10-25 13:58 UTC (permalink / raw)
  To: io-uring

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-26  7:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-25 13:58 Is IORING_REGISTER_BUFFERS useful given the current default RLIMIT_MLOCK? Drew DeVault
2021-10-25 15:42 ` Vito Caputo
2021-10-26  7:12   ` Drew DeVault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox