Re: kswapd high CPU usage with no swap

From: Rik van Riel
Date: Wed Sep 26 2007 - 11:25:55 EST

On Wed, 26 Sep 2007 09:27:36 +0200
Jan KundrÃt <jkt@xxxxxxxxxx> wrote:

> Rik van Riel wrote:
> > Could you try out the attached patch, too?
> Sorry, I wasn't able to apply it against 2.6.22-gentoo-r3 and vanilla
>; I don't have the "order" member in the "struct scan_control"
> and also the bit about "if (sync_writeback == PAGEOUT_IO_SYNC &&
> may_enter_fs)" was missing so there was no "else" branch to add (and
> it seemd pretty significant to me). What version should I patch
> against?

Sorry, the patch is against 2.6.23-rc7.

> When this is sorted out, should I keep the previous patch [1] applied
> as well?

That doesn't hurt.

All Rights Reversed
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at