android_kernel_xiaomi_sm8350/arch/um/sys-i386
Jeff Dike af72790221 [PATCH] uml: fix host LDT lookup initialization locking, try 2
Add some locking to host_ldt_entries to prevent racing when reading LDT
information from the host.

The locking is somewhat more careful than my previous attempt.  Now, only
the check of host_ldt_entries is locked.  The lock is dropped immediately
afterwards, and if the LDT needs initializing, that (and the memory
allocations needed) proceed outside the lock.

Also fixed some style violations.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-01 14:53:38 -08:00
..
bug.c [PATCH] UML: add generic BUG support 2006-12-08 08:28:39 -08:00
bugs.c
checksum.S
delay.c
fault.c
ksyms.c
ldt.c [PATCH] uml: fix host LDT lookup initialization locking, try 2 2007-03-01 14:53:38 -08:00
Makefile [PATCH] UML: add generic BUG support 2006-12-08 08:28:39 -08:00
ptrace_user.c [PATCH] uml: include stddef.h correctly 2006-12-07 08:39:29 -08:00
ptrace.c
setjmp.S
sigcontext.c
signal.c [PATCH] uml: fix signal frame alignment 2007-01-30 16:01:35 -08:00
stub_segv.c
stub.S
sys_call_table.S
syscalls.c
sysrq.c
tls.c
unmap.c
user-offsets.c [PATCH] uml: include stddef.h correctly 2006-12-07 08:39:29 -08:00