Commit a25700a5 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] mm: show bounce pages in oom killer output

Also split that long line up - people like to send us wordwrapped oom-kill
traces.

Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 45941d04
...@@ -1579,8 +1579,8 @@ void show_free_areas(void) ...@@ -1579,8 +1579,8 @@ void show_free_areas(void)
get_zone_counts(&active, &inactive, &free); get_zone_counts(&active, &inactive, &free);
printk("Active:%lu inactive:%lu dirty:%lu writeback:%lu " printk("Active:%lu inactive:%lu dirty:%lu writeback:%lu unstable:%lu\n"
"unstable:%lu free:%u slab:%lu mapped:%lu pagetables:%lu\n", " free:%u slab:%lu mapped:%lu pagetables:%lu bounce:%lu\n",
active, active,
inactive, inactive,
global_page_state(NR_FILE_DIRTY), global_page_state(NR_FILE_DIRTY),
...@@ -1590,7 +1590,8 @@ void show_free_areas(void) ...@@ -1590,7 +1590,8 @@ void show_free_areas(void)
global_page_state(NR_SLAB_RECLAIMABLE) + global_page_state(NR_SLAB_RECLAIMABLE) +
global_page_state(NR_SLAB_UNRECLAIMABLE), global_page_state(NR_SLAB_UNRECLAIMABLE),
global_page_state(NR_FILE_MAPPED), global_page_state(NR_FILE_MAPPED),
global_page_state(NR_PAGETABLE)); global_page_state(NR_PAGETABLE),
global_page_state(NR_BOUNCE));
for_each_zone(zone) { for_each_zone(zone) {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment