Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB
From: Drew DeVault
Date: Fri Nov 19 2021 - 02:42:14 EST
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.