Re: [PATCH 1/2] Extend sys_clone and sys_unshare system calls API

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dave Hansen <haveblue@...>
Cc: Cedric Le Goater <clg@...>, Linux Containers <containers@...>, Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>, Pavel Emelyanov <xemul@...>
Date: Thursday, January 24, 2008 - 1:50 pm

On Thu 2008-01-24 09:46:57, Dave Hansen wrote:

I said _reliably_.

Guess what happens on smp when one process will periodically overwrite
buf, and second will do the syscall?

It sucks for write, but it would suck much more for clone, where flags
drastically change the behaviour.

(Yep, it is possible to do reliably, see subterfugue, but it is a lot
of work and lot of overhead).


Works for me.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] Extend sys_clone and sys_unshare system call..., Pavel Machek, (Thu Jan 24, 1:50 pm)
Re: Extending syscalls, H. Peter Anvin, (Thu Jan 17, 3:26 pm)