[PATCH] zoned vm counters: conversion of nr_unstable to per zone counter
authorChristoph Lameter <clameter@sgi.com>
Fri, 30 Jun 2006 08:55:40 +0000 (01:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 30 Jun 2006 18:25:36 +0000 (11:25 -0700)
commitfd39fc8561be33065306bdac0e30414e1e8ac8e1
treeae0740716eed3f850a8f7232c61caebe360bb5ae
parentce866b34ae1b7f1ce60234cf65855886ac7e7d30
[PATCH] zoned vm counters: conversion of nr_unstable to per zone counter

Conversion of nr_unstable to a per zone counter

We need to do some special modifications to the nfs code since there are
multiple cases of disposition and we need to have a page ref for proper
accounting.

This converts the last critical page state of the VM and therefore we need to
remove several functions that were depending on GET_PAGE_STATE_LAST in order
to make the kernel compile again.  We are only left with event type counters
in page state.

[akpm@osdl.org: bugfixes]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/base/node.c
fs/fs-writeback.c
fs/nfs/write.c
fs/proc/proc_misc.c
include/linux/mmzone.h
include/linux/vmstat.h
mm/page-writeback.c
mm/page_alloc.c
mm/vmstat.c