X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=init%2FKconfig;h=3b9a47fe843bc8603323b77c74a1931331b773de;hb=21d9629a7abd87512d062fbe57b04a1baedf93d2;hp=cac3f096050d5b27a9bd5de8600469f3c5aa0ada;hpb=480d060b9e45c17933b2566401a2f1b12e7dc826;p=cascardo%2Flinux.git diff --git a/init/Kconfig b/init/Kconfig index cac3f096050d..3b9a47fe843b 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -26,6 +26,16 @@ config IRQ_WORK config BUILDTIME_EXTABLE_SORT bool +config THREAD_INFO_IN_TASK + bool + help + Select this to move thread_info off the stack into task_struct. To + make this work, an arch will need to remove all thread_info fields + except flags and fix any runtime bugs. + + One subtle change that will be needed is to use try_get_task_stack() + and put_task_stack() in save_thread_stack_tsk() and get_wchan(). + menu "General setup" config BROKEN