On Tue, Jan 25, 2011 at 07:40:51PM +0100, Eric Dumazet wrote: > Commit 927c7a9e92c4 ( perf: Fix race in callchains ) introduced a > mismatch in the sizing of struct callchain_cpus_entries. > > nr_cpu_ids must be used instead of num_possible_cpus(), or we might get > out of bound memory accesses on some machines. > > Signed-off-by: Eric Dumazet <[email protected]> > CC: Frederic Weisbecker <[email protected]> > CC: Peter Zijlstra <[email protected]> > CC: Arnaldo Carvalho de Melo <[email protected]> > CC: David Miller <[email protected]> > CC: Stephane Eranian <[email protected]> > CC: [email protected]
Good catch, thanks! _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
