Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB

From
Drew DeVault <hidden>
Date
2021-11-19 07:42:09
Also in
io-uring, linux-mm, lkml
Reply to
Andrew Morton, 2021-11-18
On Thu Nov 18, 2021 at 10:58 PM CET, Andrew Morton wrote:
Nobody's aiming for perfection. We're discussing aiming for "better".

What we should have done on day one was to set the default MLOCK_LIMIT
to zero bytes. Then everyone would have infrastructure to tune it from
userspace and we wouldn't ever have this discussion.
Setting aside perfection or not, what you're aiming for is about 1000×
more work. I'm not prepared to do that work. I'm not going to paint this
same bikeshed 100 times for each Linux distro we have to convince to
adopt a more sophisticated solution.
Thread (58 messages) 58 messages, 12 authors, last reply 2021-11-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help