public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MAX_PID changes in 2.5.31
@ 2002-08-19 19:55 Ingo Molnar
  2002-08-19 20:06 ` Linus Torvalds
  2002-08-19 22:31 ` Richard Gooch
  0 siblings, 2 replies; 23+ messages in thread
From: Ingo Molnar @ 2002-08-19 19:55 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel


Linus,

afaics, you did the PID_MAX changes in v2.5.31? This is a change i had for
(surprise) threading purposes already, but done a bit differently.

The main problem is that there's the old-style SysV IPC interface that
uses 16-bit PIDs still. All recent SysV applications (linked against glibc
2.2 or newer) use IPC_64, but any application linked against pre-2.2
glibcs will fail. glibc 2.2 was released 2 years ago, is this enough of a
timeout to obsolete the non-IPC_64 interfaces?

if that is the case then can i rip all the non-IPC_64 parts out of ipc/*,
and let non-IPC_64 calls fail? Right now it's silent breakage that
happens.

or, in my threading tree, i introduced a /proc/sys/kernel/pid_max tunable,
which has the safe conservative value of 32K PIDs, but which can be
changed by the admin to have higher PIDs.

[anything more complex than this i think should be ignored - we do not
want to complicate PID allocations just for the sake of a single old
16-bit interface.]

	Ingo


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

end of thread, other threads:[~2002-08-22 22:56 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-19 19:55 MAX_PID changes in 2.5.31 Ingo Molnar
2002-08-19 20:06 ` Linus Torvalds
2002-08-19 20:33   ` Ingo Molnar
2002-08-19 22:31 ` Richard Gooch
2002-08-19 22:34   ` Ingo Molnar
2002-08-19 22:36     ` Richard Gooch
2002-08-19 22:41       ` Robert Love
2002-08-19 22:44         ` Ingo Molnar
2002-08-19 22:47         ` Richard Gooch
2002-08-19 23:01           ` Ingo Molnar
2002-08-20 13:44           ` Thunder from the hill
2002-08-19 22:41       ` Ingo Molnar
2002-08-19 22:42         ` Richard Gooch
2002-08-19 22:46           ` Ingo Molnar
2002-08-19 22:51           ` H. Peter Anvin
2002-08-19 23:51             ` Alan Cox
2002-08-19 23:29     ` Alan Cox
2002-08-19 23:34       ` Ingo Molnar
2002-08-20  0:33       ` Andries Brouwer
2002-08-20  0:41         ` Alan Cox
2002-08-22 22:11           ` Andries Brouwer
2002-08-22 22:27             ` Alan Cox
2002-08-22 22:59               ` Jan Harkes

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