• R
    cpumask: convert RCU implementations · bd232f97
    Rusty Russell 提交于
    Impact: use new cpumask API.
    
    rcu_ctrlblk contains a cpumask, and it's highly optimized so I don't want
    a cpumask_var_t (ie. a pointer) for the CONFIG_CPUMASK_OFFSTACK case.  It
    could use a dangling bitmap, and be allocated in __rcu_init to save memory,
    but for the moment we use a bitmap.
    
    (Eventually 'struct cpumask' will be undefined for CONFIG_CPUMASK_OFFSTACK,
    so we use a bitmap here to show we really mean it).
    
    We remove on-stack cpumasks, using cpumask_var_t for
    rcu_torture_shuffle_tasks() and for_each_cpu_and in force_quiescent_state().
    Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
    bd232f97
rcupreempt.c 40.7 KB