aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/page_alloc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index bdf12f36bae0..8fbf5a4f5cf7 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2170,6 +2170,16 @@ void show_free_areas(void)
2170 " inactive_file:%lukB" 2170 " inactive_file:%lukB"
2171 " unevictable:%lukB" 2171 " unevictable:%lukB"
2172 " present:%lukB" 2172 " present:%lukB"
2173 " mlocked:%lukB"
2174 " dirty:%lukB"
2175 " writeback:%lukB"
2176 " mapped:%lukB"
2177 " slab_reclaimable:%lukB"
2178 " slab_unreclaimable:%lukB"
2179 " pagetables:%lukB"
2180 " unstable:%lukB"
2181 " bounce:%lukB"
2182 " writeback_tmp:%lukB"
2173 " pages_scanned:%lu" 2183 " pages_scanned:%lu"
2174 " all_unreclaimable? %s" 2184 " all_unreclaimable? %s"
2175 "\n", 2185 "\n",
@@ -2184,6 +2194,16 @@ void show_free_areas(void)
2184 K(zone_page_state(zone, NR_INACTIVE_FILE)), 2194 K(zone_page_state(zone, NR_INACTIVE_FILE)),
2185 K(zone_page_state(zone, NR_UNEVICTABLE)), 2195 K(zone_page_state(zone, NR_UNEVICTABLE)),
2186 K(zone->present_pages), 2196 K(zone->present_pages),
2197 K(zone_page_state(zone, NR_MLOCK)),
2198 K(zone_page_state(zone, NR_FILE_DIRTY)),
2199 K(zone_page_state(zone, NR_WRITEBACK)),
2200 K(zone_page_state(zone, NR_FILE_MAPPED)),
2201 K(zone_page_state(zone, NR_SLAB_RECLAIMABLE)),
2202 K(zone_page_state(zone, NR_SLAB_UNRECLAIMABLE)),
2203 K(zone_page_state(zone, NR_PAGETABLE)),
2204 K(zone_page_state(zone, NR_UNSTABLE_NFS)),
2205 K(zone_page_state(zone, NR_BOUNCE)),
2206 K(zone_page_state(zone, NR_WRITEBACK_TEMP)),
2187 zone->pages_scanned, 2207 zone->pages_scanned,
2188 (zone_is_all_unreclaimable(zone) ? "yes" : "no") 2208 (zone_is_all_unreclaimable(zone) ? "yes" : "no")
2189 ); 2209 );