Re: SCO: "thread creation is about a thousand times faster than on

From: Linus Torvalds (
Date: Mon Aug 28 2000 - 12:06:14 EST

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

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


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

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:21 EST