[PATCH] mm: page_state fixes
authorNick Piggin <nickpiggin@yahoo.com.au>
Fri, 6 Jan 2006 08:11:00 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:25 +0000 (08:33 -0800)
commita86b1f53166a260ced8f3c8c526945bf496f2e78
tree5513bccce91fed08d4769fd18e0f527a84aea508
parent2d92c5c9150a2a9ca3dc25da58d5042e17a96b6a
[PATCH] mm: page_state fixes

read_page_state and __get_page_state only traverse online CPUs, which will
cause results to fluctuate when CPUs are plugged in or out.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c