Index: linux-2.6.15-rc5-mm2/Makefile =================================================================== --- linux-2.6.15-rc5-mm2.orig/Makefile 2005-12-14 17:43:16.000000000 -0800 +++ linux-2.6.15-rc5-mm2/Makefile 2005-12-14 18:04:55.000000000 -0800 @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 15 -EXTRAVERSION =-rc5-mm2 +EXTRAVERSION =-rc5-mm2-d NAME=Affluent Albatross # *DOCUMENTATION* Index: linux-2.6.15-rc5-mm2/fs/buffer.c =================================================================== --- linux-2.6.15-rc5-mm2.orig/fs/buffer.c 2005-12-14 18:04:37.000000000 -0800 +++ linux-2.6.15-rc5-mm2/fs/buffer.c 2005-12-14 18:04:55.000000000 -0800 @@ -1546,7 +1546,6 @@ static inline void discard_buffer(struct clear_buffer_dirty(bh); bh->b_bdev = NULL; clear_buffer_uptodate(bh); - WARN_ON(bh->b_page && PageUptodate(bh->b_page)); clear_buffer_mapped(bh); clear_buffer_req(bh); clear_buffer_new(bh); Index: linux-2.6.15-rc5-mm2/mm/vmscan.c =================================================================== --- linux-2.6.15-rc5-mm2.orig/mm/vmscan.c 2005-12-14 18:04:34.000000000 -0800 +++ linux-2.6.15-rc5-mm2/mm/vmscan.c 2005-12-14 18:04:55.000000000 -0800 @@ -1853,6 +1853,10 @@ int zone_reclaim(struct zone *zone, gfp_ * Check if there is a reasonable amount of recoverable memory before * doing the scan. */ + + printk(KERN_ERR "zone_reclaim PAGECACHE=%ld MAPPED=%ld nr_pages=%ld\n", + zone_page_state(zone, NR_PAGECACHE), zone_page_state(zone, NR_MAPPED), nr_pages); + if (zone_page_state(zone, NR_PAGECACHE) <= zone_page_state(zone, NR_MAPPED) + nr_pages) return 0; @@ -1876,6 +1880,7 @@ int zone_reclaim(struct zone *zone, gfp_ p->reclaim_state = NULL; current->flags &= ~PF_MEMALLOC; cond_resched(); + printk(KERN_ERR "Reclaimed %ld pages\n", sc.nr_reclaimed); return sc.nr_reclaimed >= (1 << order); } #endif