WSL2-Linux-Kernel/arch/um/sys-x86_64
Paolo 'Blaisorblade' Giarrusso 1feb8d2d73 [PATCH] uml: workaround host bug in "TT mode vs. NPTL link fix"
A big bug has been diagnosed on hosts running the SKAS patch and built with
CONFIG_REGPARM, due to some missing prevent_tail_call().

On these hosts, this workaround is needed to avoid triggering that bug,
because "to" is kept by GCC only in EBX, which is corrupted at the return of
mmap2().

Since to trigger this bug int 0x80 must be used when doing the call, it rarely
manifests itself, so I'd prefer to get this merged to workaround that host
bug, since it should cause no functional change.  Still, you might prefer to
drop it, I'll leave this to you.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-14 09:00:24 -07:00
..
util [PATCH] uml: cross-build support : mk_thread 2005-05-05 16:36:35 -07:00
Makefile [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
bugs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
delay.c [PATCH] uml: Delay loop cleanups 2005-05-20 15:48:17 -07:00
fault.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel-offsets.c [PATCH] uml: cross-build support : kernel_offsets 2005-05-05 16:36:35 -07:00
ksyms.c [PATCH] uml: small fixes left over from rc4 2005-05-20 15:48:17 -07:00
mem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptrace.c [PATCH] uml: small fixes left over from rc4 2005-05-20 15:48:17 -07:00
ptrace_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigcontext.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
signal.c [PATCH] uml: fix lvalue for gcc4 2005-07-14 09:00:24 -07:00
stub.S [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
stub_segv.c [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
syscall_table.c [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for x86-64 2005-05-01 08:58:55 -07:00
syscalls.c [PATCH] uml: fork cleanup 2005-06-25 16:24:35 -07:00
sysrq.c [PATCH] uml: stack dump fix 2005-05-28 16:46:13 -07:00
um_module.c [PATCH] uml: kludgy compilation fixes for x86-64 subarch modules support 2005-05-05 16:36:33 -07:00
unmap.c [PATCH] uml: workaround host bug in "TT mode vs. NPTL link fix" 2005-07-14 09:00:24 -07:00
user-offsets.c [PATCH] uml: small fixes left over from rc4 2005-05-20 15:48:17 -07:00