• Frederic Weisbecker's avatar
    nohz: Consolidate nohz full init code · 4327b15f
    Frederic Weisbecker authored
    The supports for CONFIG_NO_HZ_FULL_ALL=y and the nohz_full= kernel
    parameter both have their own way to do the same thing: allocate
    full dynticks cpumasks, fill them and initialize some state variables.
    
    Lets consolidate that all in the same place.
    
    While at it, convert some regular printk message to warnings when
    fundamental allocations fail.
    Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    4327b15f
tick-sched.c 29.8 KB