aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/node.c')
-rw-r--r--drivers/base/node.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/node.c b/drivers/base/node.c
index b73d869c9d48..772eadac57a7 100644
--- a/drivers/base/node.c
+++ b/drivers/base/node.c
@@ -65,6 +65,7 @@ static ssize_t node_read_meminfo(struct sys_device * dev, char * buf)
65 "Node %d AnonPages: %8lu kB\n" 65 "Node %d AnonPages: %8lu kB\n"
66 "Node %d PageTables: %8lu kB\n" 66 "Node %d PageTables: %8lu kB\n"
67 "Node %d NFS Unstable: %8lu kB\n" 67 "Node %d NFS Unstable: %8lu kB\n"
68 "Node %d Bounce: %8lu kB\n"
68 "Node %d Slab: %8lu kB\n", 69 "Node %d Slab: %8lu kB\n",
69 nid, K(i.totalram), 70 nid, K(i.totalram),
70 nid, K(i.freeram), 71 nid, K(i.freeram),
@@ -82,6 +83,7 @@ static ssize_t node_read_meminfo(struct sys_device * dev, char * buf)
82 nid, K(node_page_state(nid, NR_ANON_PAGES)), 83 nid, K(node_page_state(nid, NR_ANON_PAGES)),
83 nid, K(node_page_state(nid, NR_PAGETABLE)), 84 nid, K(node_page_state(nid, NR_PAGETABLE)),
84 nid, K(node_page_state(nid, NR_UNSTABLE_NFS)), 85 nid, K(node_page_state(nid, NR_UNSTABLE_NFS)),
86 nid, K(node_page_state(nid, NR_BOUNCE)),
85 nid, K(node_page_state(nid, NR_SLAB))); 87 nid, K(node_page_state(nid, NR_SLAB)));
86 n += hugetlb_report_node_meminfo(nid, buf + n); 88 n += hugetlb_report_node_meminfo(nid, buf + n);
87 return n; 89 return n;