wan/fsl_ucc_hdlc: Fix size used in dma_free_coherent()
[cascardo/linux.git] / init / Kconfig
index 6988649..3b9a47f 100644 (file)
@@ -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
@@ -1761,6 +1771,7 @@ choice
 
 config SLAB
        bool "SLAB"
+       select HAVE_HARDENED_USERCOPY_ALLOCATOR
        help
          The regular slab allocator that is established and known to work
          well in all environments. It organizes cache hot objects in
@@ -1768,6 +1779,7 @@ config SLAB
 
 config SLUB
        bool "SLUB (Unqueued Allocator)"
+       select HAVE_HARDENED_USERCOPY_ALLOCATOR
        help
           SLUB is a slab allocator that minimizes cache line usage
           instead of managing queues of cached objects (SLAB approach).