Re: [patch] Unlimited number of processes, x86, 2.1.131

Andi Kleen (ak@muc.de)
Wed, 9 Dec 1998 18:46:41 +0100


[cc'ed libc-hackers]

On Wed, Dec 09, 1998 at 06:34:48PM +0100, MOLNAR Ingo wrote:
>
> On Wed, 9 Dec 1998, Andi Kleen wrote:
>
> > In muc.lists.linux-kernel, you wrote:
> > >bug reports, success reports, comments and suggestions welcome,
> >
> > Very cool indeed.
> >
> > One point: if you go >16k processes then SYSV ipc will have problems because
> > __kernel_ipc_pid_t is 16bit on most platforms. Worse is that this type
> > is exported to user space [in msqid_ds].
>
> ugh, good point. This also is an ABI definition, hm. Wondering how this is
> solved on other unices. For now we will silently drop the upper bits.
> (btw, is the limit really 16k, or rather 32k?)

32k of course, I don't know how I got to the 16k @)

Even glibc2 kept it at 16bit :(

gnu/types.h:typedef unsigned short int __ipc_pid_t;

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/