Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB
From: Andrew Morton
Date: Tue Nov 16 2021 - 14:47:33 EST
On Tue, 16 Nov 2021 07:32:33 +0100 "Drew DeVault" <sir@xxxxxxxxx> wrote:
> > And a question: rather than messing around with a constant which will
> > need to be increased again in a couple of years, can we solve this one
> > and for all? For example, permit root to set the system-wide
> > per-process max mlock size and depend upon initscripts to do this
> > appropriately.
> Not sure I understand. Root and init scripts can already manage this
> number - the goal of this patch is just to provide a saner default.
Well, why change the default? Surely anyone who cares is altering it
at runtime anyway. And if they are not, we should encourage them to do