lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCO: "thread creation is about a thousand times faster than on


On Mon, 28 Aug 2000, Alexander Viro wrote:
>
> Umm... If we do that (separate syscall) we might very well want to invert
> the bitmap. Because we will end up with unshare(~CLONE_FILES) and similar
> as a typical use.

I agree. "clone()" says "I want to copy these things".

"unshare()" says "I want to un-copy these things". So it makes sense that
a "unshare(CLONE_FILES)" basically _undoes_ the sharing of
"clone(CLONE_FILES)".

> BTW, I think that do_fork() should look like

[ sharing code ]

Not unreasonable.

Anyway, this is all 2.5.x.. I'd like to get at least some basic support
for pthreads compatibility if we can do it trivially in 2.4.x, but these
kinds of changes are not necessary for that at this point.

Linus

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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.110 / U:5.728 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site