Re: kswapd in tight loop 2.6.9-rc3-bk-recent

From: Nick Piggin
Date: Thu Oct 07 2004 - 22:28:49 EST




Andrew Morton wrote:

Nick Piggin <piggin@xxxxxxxxxxxxxxx> wrote:

Chris Wright <chrisw@xxxxxxxx> wrote:

>
>>(whereas I could get the mainline code, and the
>> one-liner to spin right off). >>
>
>How? (up to and including .config please).
>
>
>

Ah, free_pages <= pages_high, ie. 0 <= 0, which is true;
commence spinning.


Maybe. It requires that the zonelists be screwy:



Note that if this *was* the problem, then it would not be the fault of
my recent patch, rather *every* allocation (when memory is lowish)
would cause kswapd to wind through its priority loop then stop.
Probably not using enough CPU for anyone to really notice though.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/