Messages in this thread | | | Date | Sat, 1 May 2004 15:35:05 -0700 | From | William Lee Irwin III <> | Subject | Re: RCU scaling on large systems |
| |
On Sat, May 01, 2004 at 02:17:04PM -0700, William Lee Irwin III wrote: > +static inline void rcu_set_need_switch_cpumask(cpumask_t cpumask) > +{ > + int cpu; > + for_each_cpu_mask(cpu, cpumask) > + atomic_set(&per_cpu(rcu_data, cpu).need_switch, 1); > +}
needs to be: for_each_online_cpu(cpu) atomic_set(&per_cpu(rcu_data, cpu).need_switch, !!cpu_isset(cpu, cpumask));
-- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |