[PATCH] zoned vm counters: conversion of nr_unstable to per zone counter
[linux-2.6.git] / mm / vmstat.c
index e84c7e5..9dc270a 100644 (file)
@@ -45,28 +45,6 @@ static void __get_page_state(struct page_state *ret, int nr, cpumask_t *cpumask)
        }
 }
 
-void get_page_state_node(struct page_state *ret, int node)
-{
-       int nr;
-       cpumask_t mask = node_to_cpumask(node);
-
-       nr = offsetof(struct page_state, GET_PAGE_STATE_LAST);
-       nr /= sizeof(unsigned long);
-
-       __get_page_state(ret, nr+1, &mask);
-}
-
-void get_page_state(struct page_state *ret)
-{
-       int nr;
-       cpumask_t mask = CPU_MASK_ALL;
-
-       nr = offsetof(struct page_state, GET_PAGE_STATE_LAST);
-       nr /= sizeof(unsigned long);
-
-       __get_page_state(ret, nr + 1, &mask);
-}
-
 void get_full_page_state(struct page_state *ret)
 {
        cpumask_t mask = CPU_MASK_ALL;
@@ -402,10 +380,9 @@ static char *vmstat_text[] = {
        "nr_page_table_pages",
        "nr_dirty",
        "nr_writeback",
-
-       /* Page state */
        "nr_unstable",
 
+       /* Event counters */
        "pgpgin",
        "pgpgout",
        "pswpin",