Re: [RFC PATCH] 2.6.22.6 user-mode linux: No need to new a stack for clone without CLONE_VM

2007-09-24 Thread Jeff Dike
On Sat, Sep 22, 2007 at 11:39:32PM +0800, lepton wrote: > Since we just call clone without CLONE_VM, it is no need to > use anoymous mmap to get a new stack frame. This section of code has been converted to use fork() for this exact reason. Jeff -- Work email -

Re: [RFC PATCH] 2.6.22.6 user-mode linux: No need to new a stack for clone without CLONE_VM

2007-09-24 Thread Jeff Dike
On Sat, Sep 22, 2007 at 11:39:32PM +0800, lepton wrote: Since we just call clone without CLONE_VM, it is no need to use anoymous mmap to get a new stack frame. This section of code has been converted to use fork() for this exact reason. Jeff -- Work email -

[RFC PATCH] 2.6.22.6 user-mode linux: No need to new a stack for clone without CLONE_VM

2007-09-22 Thread lepton
Since we just call clone without CLONE_VM, it is no need to use anoymous mmap to get a new stack frame. Let's keep codes simple. Signed-off-by: Lepton Wu <[EMAIL PROTECTED]> diff -X linux-2.6.22.6-uml/Documentation/dontdiff -pru linux-2.6.22.6/arch/um/os-Linux/start_up.c

[RFC PATCH] 2.6.22.6 user-mode linux: No need to new a stack for clone without CLONE_VM

2007-09-22 Thread lepton
Since we just call clone without CLONE_VM, it is no need to use anoymous mmap to get a new stack frame. Let's keep codes simple. Signed-off-by: Lepton Wu [EMAIL PROTECTED] diff -X linux-2.6.22.6-uml/Documentation/dontdiff -pru linux-2.6.22.6/arch/um/os-Linux/start_up.c