Index: linux-2.6.17-rc6-cl/fs/nfs/pagelist.c =================================================================== --- linux-2.6.17-rc6-cl.orig/fs/nfs/pagelist.c 2006-06-13 11:25:38.015684073 -0700 +++ linux-2.6.17-rc6-cl/fs/nfs/pagelist.c 2006-06-13 11:57:37.441744473 -0700 @@ -154,6 +154,7 @@ void nfs_clear_request(struct nfs_page * { struct page *page = req->wb_page; if (page != NULL) { + dec_zone_page_state(page, NR_UNSTABLE); page_cache_release(page); req->wb_page = NULL; } Index: linux-2.6.17-rc6-cl/include/linux/vmstat.h =================================================================== --- linux-2.6.17-rc6-cl.orig/include/linux/vmstat.h 2006-06-13 11:26:59.624879683 -0700 +++ linux-2.6.17-rc6-cl/include/linux/vmstat.h 2006-06-13 12:16:34.540282885 -0700 @@ -15,10 +15,10 @@ extern atomic_long_t vm_stat[NR_VM_ZONE_ static inline unsigned long global_page_state(enum zone_stat_item item) { long x = atomic_long_read(&vm_stat[item]); -#ifdef CONFIG_SMP +//#ifdef CONFIG_SMP if (x < 0) x = 0; -#endif +//#endif return x; } @@ -26,10 +26,10 @@ static inline unsigned long zone_page_st enum zone_stat_item item) { long x = atomic_long_read(&zone->vm_stat[item]); -#ifdef CONFIG_SMP +//#ifdef CONFIG_SMP if (x < 0) x = 0; -#endif +//#endif return x; }