Re: kswapd @ 60-80% CPU during heavy HD i/o.

From: David S. Miller (davem@redhat.com)
Date: Mon May 01 2000 - 19:23:13 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:09 EST