[PATCH] NUMA: broken per cpu pageset counters
authorMagnus Damm <magnus@valinux.co.jp>
Wed, 26 Oct 2005 08:58:59 +0000 (01:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 26 Oct 2005 17:39:43 +0000 (10:39 -0700)
commit1c6fe9465941df04a1ad8f009bd6d95b20072a58
tree8a603129e3f5df909476d41c09c9d87939c2839f
parent8712e553562bbbed9b3a99370f08e9bc25908a76
[PATCH] NUMA: broken per cpu pageset counters

The NUMA counters in struct per_cpu_pageset (linux/mmzone.h) are never
cleared today.  This works ok for CPU 0 on NUMA machines because
boot_pageset[] is already zero, but for other CPU:s this results in
uninitialized counters.

Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c