Re: Re: [PATCH 2/3] kernel/pid: Remove default pid_max value
From: Michal Koutný
Date: Thu Apr 11 2024 - 12:49:55 EST
Hello.
On Mon, Apr 08, 2024 at 01:29:55PM -0700, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> That seems like a large change.
In what sense is it large?
I tried to lookup the code parts that depend on this default and either
add the other patches or mention the impact (that part could be more
thorough) in the commit message.
> It isn't clear why we'd want to merge this patchset. Does it improve
> anyone's life and if so, how?
- kernel devs who don't care about policy
- policy should be decided by distros/users, not in kernel
- users who need many threads
- current default is too low
- this is one more place to look at when configuring
- users who want to prevent fork-bombs
- current default is ineffective (too high), false feeling of safety
- i.e. they should configure appropriate mechanism appropriately
I thought that the first point alone would be convincing and that only
scaling impact might need clarification.
Regards,
Michal