[lkml]   [2002]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] POSIX personality

--On Tuesday, May 21, 2002 04:08:52 PM -0700 Linus Torvalds
<> wrote:

>> One reason for it would be that it would be more efficient. All the
>> various shared state needed for POSIX thread group emulation could be
>> put into a single structure with a single reference count.
> Now, that's a separate issue - the issue of the exact _granularity_ of
> the bits, and how you group things together.
> On that front, I don't have any strong feelings - but I suspect that it
> almost always ends up being fairly obvious when it is "right" to group
> things together, and when it isn't.
> For example, we probably could have had just one bit for (FS | FILES),
> and the same is probably true of (SIGHAND | THREAD), but on the whole we
> haven't really had any gray areas when it comes to the grouping. And I
> don't see any coming up.
> Does that mean that we might have a CLONE_POSIXDAMAGE that just covers all
> the strange POSIX stuff that make no sense anywhere else? Maybe. But I'd
> want that to be just another bit with the same semantic behaviour as the
> existing ones, _not_ be some external "POSIX personality".

I've been thinking along those lines myself. At this point I'd suggest we
implement them as separate, then if in the future no one ever uses them
separately we can consider combining them. I know this can raise some
backward compatibility issues but in theory if anyone cares we wouldn't do

Dave McCracken

Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059 T/L 678-3059

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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