commit | b5be11329f8cb2cc1a4c3b33b6b8d096c6012895 | [log] [tgz] |
---|---|---|
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | Mon May 12 14:02:06 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 13 08:02:23 2008 -0700 |
tree | 30ccea8a490bbde0e0760274b6eb4c5863971caa | |
parent | 78f508ab07954d12896097ac07ab2fab443c7ca2 [diff] |
make vmstat cpu-unplug safe When accessing cpu_online_map, we should prevent dynamic changing of cpu_online_map by get_online_cpus(). Unfortunately, all_vm_events() doesn't do that. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Acked-by: Christoph Lameter <clameter@sgi.com> Cc: Gautham R Shenoy <ego@in.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>