On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > + get_online_cpus(); > + for_each_online_cpu(cpu) > + for_each_rcu_flavor(rsp) > + smp_call_function_single(cpu, rcu_oom_notify_cpu, > + rsp, 1); > + put_online_cpus();
I guess blasting IPIs around is better than OOM but still.. do you really need to wait for each cpu individually, or would a construct using on_each_cpu() be possible, or better yet, on_each_cpu_cond()? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

