Messages in this thread Patch in this message | | | Date | Thu, 7 Oct 2004 18:41:34 -0700 | From | Chris Wright <> | Subject | Re: kswapd in tight loop 2.6.9-rc3-bk-recent |
| |
* Andrew Morton (akpm@osdl.org) wrote: > > OK, after backing out the `goto spaghetti;' patch and cleaning up a few > thing I'll test the below. It'll make kswapd much less aggressive.
testing with this compile fix:
diff -u 25-akpm/mm/vmscan.c edited/mm/vmscan.c --- 25-akpm/mm/vmscan.c 2004-10-07 17:38:20.348905464 -0700 +++ edited/mm/vmscan.c 2004-10-07 18:38:14 -07:00 @@ -999,7 +999,7 @@ struct zone *zone = pgdat->node_zones + i; zone->temp_priority = DEF_PRIORITY; - zone->pages_to_reclaim = zone->pages_high - zone->pages_free; + zone->pages_to_reclaim = zone->pages_high - zone->free_pages; } for (priority = DEF_PRIORITY; priority >= 0; priority--) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |