Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2021-11-16 19:47:33
Also in:
io-uring, linux-api, lkml
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2021-11-16 19:47:33
Also in:
io-uring, linux-api, lkml
On Tue, 16 Nov 2021 07:32:33 +0100 "Drew DeVault" [off-list ref] wrote:
quoted
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 so?