lkml.org 
[lkml]   [2000]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.3.39 has 32bit uid. What about 32bit pid?
> Only few libc5 programs are affected in fact (one with IPC usage).

No, its worse sadly -- think fcntl(fd,F_SETOWN,&pid) sort of thing.
We will need a new F_SETOWN or esle the SIGIO stuff will break.

Its likely there are other such cases too.

> If program is created that way it's broken already :-)

> get_pid() and sheduler should be fixed of course. But they can be
> fixed later. It does not require ABI change :-)

> IMO it's way to go. We do not need more then 2000000000 processes even on
> 64bit platforms but who knows what will be done in next 20 years+ ?

Oh, I completely agree -- but perhaps we wanted to divide that 64-bit
space into bit-regions which had some intrinsic meaning? It may sound
really gross, but you never know.

The main reason I mentioned this, was I imagine for most 64-bit
platforms, accessing a 64-bit word as opposed to a 32-bit word is as
cheap or cheaper and may allow various atomic operations.



-cw

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.040 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site