• Frederic Weisbecker's avatar
    nohz: Unhide full dynticks feature from its dependencies · ab71d36d
    Frederic Weisbecker authored
    The full dynticks feature only shows up when all its
    Kconfig dependencies are met (RCU nocbs, RCU user mode, ...)
    
    This is far from being user friendly as those who want to
    activate this feature need to look into the Kconfig files
    and iterate through each dependency then activate these
    by hand in order to show and select the full dynticks
    Kconfig option.
    
    So process the other way around: show up the Kconfig option
    if the minimal low level dependencies are met and activate
    the high level ones when we enable the feature.
    
    Note there is one exception in the picture:
    CONFIG_VIRT_CPU_ACCOUNTING_GEN is part of a Kconfig choice
    menu and it appears we can't select it from another Kconfig
    selection when it's under such layout. So for now this
    particular item stays as a passive dependency.
    Reported-by: default avatarIngo Molnar <mingo@kernel.org>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Chris Metcalf <cmetcalf@tilera.com>
    Cc: Christoph Lameter <cl@linux.com>
    Cc: Geoff Levand <geoff@infradead.org>
    Cc: Gilad Ben Yossef <gilad@benyossef.com>
    Cc: Hakan Akkan <hakanakkan@gmail.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Kevin Hilman <khilman@linaro.org>
    Cc: Li Zhong <zhong@linux.vnet.ibm.com>
    Cc: Namhyung Kim <namhyung.kim@lge.com>
    Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    ab71d36d
Kconfig 2.95 KB