kernel-ark/arch/um
Paolo 'Blaisorblade' Giarrusso 12523bdce1 [PATCH] uml: idle thread needn't take access to init_mm
Comparing this code which is the actual body of the arch-independent
cpu_idle(), it is clear that it's unnecessary to set ->mm and ->active_mm;
beyond that, a kernel thread is not supposed to have ->mm != NULL, only
active_mm.

This showed up because I used the assumption (which is IMHO valid) that kernel
thread have their ->mm == NULL, and it failed for this thread.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-31 12:18:51 -08:00
..
drivers [PATCH] uml: fix min usage 2006-03-31 12:18:51 -08:00
include [PATCH] uml: sparse cleanups 2006-03-31 12:18:51 -08:00
kernel [PATCH] uml: idle thread needn't take access to init_mm 2006-03-31 12:18:51 -08:00
os-Linux [PATCH] uml: remove unused make variables 2006-03-31 12:18:51 -08:00
scripts [PATCH] uml: clean up remapping code build magic 2006-03-31 12:18:51 -08:00
sys-i386 [PATCH] uml: sparse cleanups 2006-03-31 12:18:51 -08:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] uml: clean up remapping code build magic 2006-03-31 12:18:51 -08:00
config.release
defconfig
Kconfig [PATCH] uml: kconfigs 2006-03-31 12:18:51 -08:00
Kconfig.char
Kconfig.debug
Kconfig.i386 [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64 [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
Makefile [PATCH] uml: eliminate duplicate mrpropered files 2006-03-31 12:18:51 -08:00
Makefile-i386 [PATCH] uml: fixups for "reuse i386 cpu-specific tuning" 2005-11-13 18:14:14 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: eliminate symlinks to host arch 2006-03-31 12:18:50 -08:00