Re: [PATCH 2/3] kernel/pid: Remove default pid_max value

From: Andrew Morton
Date: Mon Apr 08 2024 - 16:30:02 EST


On Mon, 8 Apr 2024 16:58:18 +0200 Michal Koutný <mkoutny@xxxxxxxx> wrote:

> The kernel provides mechanisms, while it should not imply policies --
> default pid_max seems to be an example of the policy that does not fit
> all. At the same time pid_max must have some value assigned, so use the
> end of the allowed range -- pid_max_max.
>
> This change thus increases initial pid_max from 32k to 4M (x86_64
> defconfig).

That seems like a large change.

It isn't clear why we'd want to merge this patchset. Does it improve
anyone's life and if so, how?