From: Andrew Morton Date: Thu, 8 Feb 2007 22:20:40 +0000 (-0800) Subject: [PATCH] mm: show bounce pages in oom killer output X-Git-Tag: v2.6.21-rc1~83^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a25700a53f715fde30443e737e52310c6d4a311a;p=linux-2.6-omap-h63xx.git [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 Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 2c606cc922a..f12052dc23f 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1579,8 +1579,8 @@ void show_free_areas(void) get_zone_counts(&active, &inactive, &free); - printk("Active:%lu inactive:%lu dirty:%lu writeback:%lu " - "unstable:%lu free:%u slab:%lu mapped:%lu pagetables:%lu\n", + printk("Active:%lu inactive:%lu dirty:%lu writeback:%lu unstable:%lu\n" + " free:%u slab:%lu mapped:%lu pagetables:%lu bounce:%lu\n", active, inactive, global_page_state(NR_FILE_DIRTY), @@ -1590,7 +1590,8 @@ void show_free_areas(void) global_page_state(NR_SLAB_RECLAIMABLE) + global_page_state(NR_SLAB_UNRECLAIMABLE), 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) { int i;