[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kswapd @ 60-80% CPU during heavy HD i/o.
BTW, what loop are you trying to "continue;" out of here?
+ do {
if (tsk->need_resched)
schedule();
if ((!zone->size) || (!zone->zone_wake_kswapd))
continue;
do_try_to_free_pages(GFP_KSWAPD, zone);
+ } while (zone->free_pages < zone->pages_low &&
+ --count);
:-) Just add a "next_zone:" label at the end of that code and
change the continue; to a goto next_zone;
Later,
David S. Miller
davem@redhat.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/