lkml.org 
[lkml]   [2004]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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/
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.081 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site