aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r--mm/vmstat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index ec6035eda933..280a7ed549f2 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -548,6 +548,10 @@ static int pagetypeinfo_show(struct seq_file *m, void *arg)
548{ 548{
549 pg_data_t *pgdat = (pg_data_t *)arg; 549 pg_data_t *pgdat = (pg_data_t *)arg;
550 550
551 /* check memoryless node */
552 if (!node_state(pgdat->node_id, N_HIGH_MEMORY))
553 return 0;
554
551 seq_printf(m, "Page block order: %d\n", pageblock_order); 555 seq_printf(m, "Page block order: %d\n", pageblock_order);
552 seq_printf(m, "Pages per block: %lu\n", pageblock_nr_pages); 556 seq_printf(m, "Pages per block: %lu\n", pageblock_nr_pages);
553 seq_putc(m, '\n'); 557 seq_putc(m, '\n');