[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211116133750.0f625f73a1e4843daf13b8f7@linux-foundation.org>
Date: Tue, 16 Nov 2021 13:37:50 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: "Drew DeVault" <sir@...wn.com>
Cc: "Ammar Faizi" <ammarfaizi2@...weeb.org>,
<linux-kernel@...r.kernel.org>, <linux-api@...r.kernel.org>,
"io_uring Mailing List" <io-uring@...r.kernel.org>,
"Jens Axboe" <axboe@...nel.dk>,
"Pavel Begunkov" <asml.silence@...il.com>, <linux-mm@...ck.org>
Subject: Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB
On Tue, 16 Nov 2021 20:48:48 +0100 "Drew DeVault" <sir@...wn.com> wrote:
> On Tue Nov 16, 2021 at 8:47 PM CET, Andrew Morton wrote:
> > 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?
>
> I addressed this question in the original patch's commit message.
Kinda.
We're never going to get this right, are we? The only person who can
decide on a system's appropriate setting is the operator of that
system. Haphazardly increasing the limit every few years mainly
reduces incentive for people to get this right.
And people who test their software on 5.17 kernels will later find that
it doesn't work on 5.16 and earlier, so they still need to tell their
users to configure their systems appropriately. Until 5.16 is
obsolete, by which time we're looking at increasing the default again.
I don't see how this change gets us closer to the desired state:
getting distros and their users to configure their systems
appropriately.
Powered by blists - more mailing lists