mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* pid_max hang again...
@ 2002-09-06 13:52 Paul Larson
  2002-09-06 15:39 ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Larson @ 2002-09-06 13:52 UTC (permalink / raw)
  To: mingo, Linus Torvalds, lkml

In the nightly bk pull testing I do, I saw that this got commited
yesterday:

-ChangeSet@1.619, 2002-09-05 08:45:49-07:00, mingo@elte.hu
-  [PATCH] pid-max-2.5.33-A0
-  
-  This is the pid-max patch, the one i sent for 2.5.31 was botched.  I
-  have removed the 'once' debugging stupidity - now PIDs start at 0
-  again.
-  Also, for an unknown reason the previous patch missed the hunk that 
-  had the declaration of 'DEFAULT_PID_MAX' which made it not compile

It looks like this change dropped us back to the same error all this was
originally supposed to fix.  When you hit PID_MAX, get_pid() starts
looping forever looking for a free pid and hangs.  I could probably make
my original fix work on this very easily if you'd like.

I wonder though, would it be possible to do this in a more simple way by
just throttling max_threads back to something more sane if it gets
defaulted too high?  Since it gets checked before we even get to the
get_pid call in copy_process().  That would keep the number of processes
down to a sane level without the risk.

Thanks,
Paul Larson
http://www.linuxtestproject.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-06 17:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-06 13:52 pid_max hang again Paul Larson
2002-09-06 15:39 ` Ingo Molnar
2002-09-06 15:47   ` Paul Larson
2002-09-06 17:43   ` [PATCH] " Paul Larson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®