• Paul E. McKenney's avatar
    sched: Rely on synchronize_rcu_mult() de-duplication · d7d34d5e
    Paul E. McKenney authored
    The synchronize_rcu_mult() function now detects duplicate requests
    for the same grace-period flavor and waits only once for each flavor.
    This commit therefore removes the ugly #ifdef from sched_cpu_deactivate()
    because synchronize_rcu_mult(call_rcu, call_rcu_sched) now does what
    the #ifdef used to be needed for.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    d7d34d5e
core.c 181 KB