kernel_optimize_test/arch/um
Thomas Meyer 33bbc30654 um: Move uml_postsetup in the init_thread stack
atomic_notifier_chain_register() and uml_postsetup() do call kernel code
that rely on the "current" kernel macro and a valid task_struct resp.
thread_info struct. Give those functions a valid stack by moving
uml_postsetup() in the init_thread stack. This moves enables a panic()
call in this early code to generate a valid stacktrace, instead of
crashing.
E.g. when an UML kernel is started with an initrd but too few physical
memory the panic() call get's actually processed.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-04-13 21:17:44 +02:00
..
configs arch/um: make it work with defconfig and x86_64 2013-11-17 11:31:48 +01:00
drivers uml: Fix unsafe pid reference to foreground process group 2014-11-05 16:26:13 -08:00
include um: Move uml_postsetup in the init_thread stack 2015-04-13 21:17:44 +02:00
kernel um: Move uml_postsetup in the init_thread stack 2015-04-13 21:17:44 +02:00
os-Linux um: Move uml_postsetup in the init_thread stack 2015-04-13 21:17:44 +02:00
scripts um: Preinclude include/linux/kern_levels.h 2012-09-27 20:20:09 +02:00
.gitignore
Kconfig.char um: remove used STDIO_CONSOLE Kconfig param 2013-11-17 11:32:27 +01:00
Kconfig.common um: Skip futex_atomic_cmpxchg_inatomic() test 2015-01-04 14:20:26 +01:00
Kconfig.debug
Kconfig.net arch/um: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:04 -08:00
Kconfig.rest
Kconfig.um um: Remove broken highmem support 2015-04-13 21:01:02 +02:00
Makefile um: Fix for relative objtree when generating x86 headers 2014-06-05 17:55:48 +02:00
Makefile-os-Linux
Makefile-skas