From: Bodo Stroesser <[EMAIL PROTECTED]> In skas3, the stub-pages for skas0 are unused. Thus, the space for the stub needs not to be reserved. So, in skas3 user's stack should may start at 0xc0000000, as it has been before skas0-implementation.
Signed-off-by: Bodo Stroesser <[EMAIL PROTECTED]> --- diff -puN arch/um/kernel/skas/mem.c~skas3-no-stub arch/um/kernel/skas/mem.c --- linux-2.6.10-mm3/arch/um/kernel/skas/mem.c~skas3-no-stub 2005-01-17 16:02:35.304182317 +0100 +++ linux-2.6.10-mm3-root/arch/um/kernel/skas/mem.c 2005-01-17 16:04:42.625723895 +0100 @@ -7,6 +7,8 @@ #include "linux/mm.h" #include "mem_user.h" +extern int proc_mm, ptrace_faultinfo; + unsigned long set_task_sizes_skas(int arg, unsigned long *host_size_out, unsigned long *task_size_out) { @@ -18,7 +20,10 @@ unsigned long set_task_sizes_skas(int ar *task_size_out = CONFIG_HOST_TASK_SIZE; #else *host_size_out = top; - *task_size_out = CONFIG_STUB_START; + if (proc_mm && ptrace_faultinfo) + *task_size_out = top; + else + *task_size_out = CONFIG_STUB_START; #endif return(((unsigned long) set_task_sizes_skas) & ~0xffffff); } _ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel