Re: [uml-devel] Possible SKAS3 >= v8 bug

2005-08-29 Thread Christopher S. Aker
Blaisorblade wrote: Ok, I'm particularly suspicious of one patch, ptrace_ldt-reload-smp-fix, try unapplying that one. I don't know exactly *how* it might trigger that crash, but it seems a data corruption, and that code is doing exactly that. I recompiled 2.6.12.5 with skas-v8 minus the ptrace

[uml-devel] [PATCH 5/9] UML - Remove duplicated exports

2005-08-29 Thread Jeff Dike
Al Viro spotted a bunch of duplicated exports - this removes them. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.13-rc6/arch/um/kernel/ksyms.c === --- linux-2.6.13-rc6.orig/arch/um/kernel/ksyms.c2005-08-15 12

[uml-devel] [PATCH 8/9] UML - Merge duplicated page table code

2005-08-29 Thread Jeff Dike
There is a lot of code which is duplicated between the 2 and 3 level implementation, with the only difference that the 3-level implementation is a bit more generalized (instead of accessing directly pte_t.pte, it uses the appropriate access macros). So this code is joined together. As obvious, a

[uml-devel] [PATCH 1/9] UML - Error path cleanup

2005-08-29 Thread Jeff Dike
This cleans up the error path in ubd_open, causing it now to call ubd_close appropriately when something fails. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.13-rc6-mm1/arch/um/drivers/ubd_kern.c === --- linux-2.6.13-

[uml-devel] [PATCH 2/9] UML - Build cleanup

2005-08-29 Thread Jeff Dike
>From Al Viro - Build cleanups Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.13-rc6/arch/um/Makefile === --- linux-2.6.13-rc6.orig/arch/um/Makefile 2005-08-15 12:03:04.0 -0400 +++ linux-2.6.13-rc6/arch/u

[uml-devel] [PATCH 4/9] UML - Mark SMP on UML/x86_64 as broken

2005-08-29 Thread Jeff Dike
Noticed by Al Viro - SMP on x86_64 is fundamentally broken due to UML's reuse of the host arch's percpu stuff. This is OK on x86, but the x86_64 pda stuff just won't work for UML. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.13-rc6/arch/um/Kconfig ===

[uml-devel] [PATCH 9/9] UML - Remove debugging code

2005-08-29 Thread Jeff Dike
This removes some long-unused debugging code. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: test/arch/um/kernel/trap_kern.c === --- test.orig/arch/um/kernel/trap_kern.c2005-06-17 15:48:29.0 -0400 +++ test/arch/

[uml-devel] [PATCH 7/9] UML - TLB operation batching

2005-08-29 Thread Jeff Dike
This adds VM op batching to skas0. Rather than having a context switch to and from the userspace stub for each address space change, we write a number of operations to the stub data page and invoke a different stub which loops over them and executes them all in one go. The operations are stored as

[uml-devel] [PATCH 6/9] UML - UML/i386 is i386 when running on x86_64

2005-08-29 Thread Jeff Dike
>From Paolo Giarrusso - Make a UML/i386 instance running on x86_64 pretend to be i386 rather than x86_64. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.12-rc6/arch/um/kernel/user_util.c === --- linux-2.6.12-rc6.orig/a

[uml-devel] [PATCH 3/9] UML - Remove libc reference in build

2005-08-29 Thread Jeff Dike
>From Al Viro - Remove an unneeded reference to libc Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.13-rc6/arch/um/scripts/Makefile.unmap === --- linux-2.6.13-rc6.orig/arch/um/scripts/Makefile.unmap2005-08-08