* Re: idea to enhance get_pid()
@ 2002-04-20 17:50 Dan Kegel
2002-04-20 19:12 ` 32-bit process ids (was: Re: idea to enhance get_pid()) Dan Aloni
0 siblings, 1 reply; 3+ messages in thread
From: Dan Kegel @ 2002-04-20 17:50 UTC (permalink / raw)
To: Dan Aloni, linux-kernel
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Dan Aloni wrote:
> The last time I checked, the only thing that stops the move back to
> 32-bit pids is a bug in the bash shell, and just a few workable IPC
> interfaces and libc breakages.
I'd like to know more about that bash bug; do you have a URL for it?
(Is there even a bug tracking system for bash?)
I looked a bit on gnu.bash.bugs, and found two possibly related
patches; do these have anything to do with the bug?
http://groups.google.com/groups?selm=200104130734.AAA12931%40shade.twinsun.com
http://groups.google.com/groups?selm=200104130854.BAA18368%40shade.twinsun.com
Thanks,
Dan
^ permalink raw reply [flat|nested] 3+ messages in thread
* 32-bit process ids (was: Re: idea to enhance get_pid())
2002-04-20 17:50 idea to enhance get_pid() Dan Kegel
@ 2002-04-20 19:12 ` Dan Aloni
2002-04-20 20:00 ` Eric Brunner-Williams in Portland Maine
0 siblings, 1 reply; 3+ messages in thread
From: Dan Aloni @ 2002-04-20 19:12 UTC (permalink / raw)
To: dank; +Cc: linux-kernel
On Sat, 2002-04-20 at 20:50, Dan Kegel wrote:
> I'd like to know more about that bash bug; do you have a URL for it?
> (Is there even a bug tracking system for bash?)
> I looked a bit on gnu.bash.bugs, and found two possibly related
> patches; do these have anything to do with the bug?
> http://groups.google.com/groups?selm=200104130734.AAA12931%40shade.twinsun.com
> http://groups.google.com/groups?selm=200104130854.BAA18368%40shade.twinsun.com
In a post by Linus from 2 years ago, concerning the bash bug
( http://lwn.net/2000/0120/a/lt-pid.html ), he also writes about
what holds from switching to 32 bit pids. and it's mainly
because it's unclear about the way pids should be handled in
a clustering environment.
According to the kernel patch made by the people at Cluster
Infrastructure ( http://ci-linux.sourceforge.net/ ), today
it is clear that the upper 16 bits of the pid are used for the node
number.
Linus should consider applying Andries Brouwer's patch from October:
( http://marc.theaimsgroup.com/?l=linux-kernel&m=100274734125520&w=2 )
This is really 2.5 material, but it slipped away for no apparent reason.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 32-bit process ids (was: Re: idea to enhance get_pid())
2002-04-20 19:12 ` 32-bit process ids (was: Re: idea to enhance get_pid()) Dan Aloni
@ 2002-04-20 20:00 ` Eric Brunner-Williams in Portland Maine
0 siblings, 0 replies; 3+ messages in thread
From: Eric Brunner-Williams in Portland Maine @ 2002-04-20 20:00 UTC (permalink / raw)
To: Dan Aloni; +Cc: dank, linux-kernel, brunner
> According to the kernel patch made by the people at Cluster
> Infrastructure ( http://ci-linux.sourceforge.net/ ), today
> it is clear that the upper 16 bits of the pid are used for the node
> number.
This is the one thing I let through back in 1984. Nixdorff wanted to use
parts of the processID for processorID. Now I don't have my authors' copy
of XPG/1 CAE anymore, but I still have a lasting sense of chagrin that as
trivially exhausted resource as a pid had bits shaved off for mid-80s SMP
machines. Granted, our pid_t of the time was 16 bits, and an Intel HyperCube
made a big dent in the remaining bits-for-pid'ing, and current pid_t's on
32-bit boxen is is 32 bits, and MPP boxes are few and far between -- but
really large clusters are possible.
$.02
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-20 20:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-20 17:50 idea to enhance get_pid() Dan Kegel
2002-04-20 19:12 ` 32-bit process ids (was: Re: idea to enhance get_pid()) Dan Aloni
2002-04-20 20:00 ` Eric Brunner-Williams in Portland Maine
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®