Re: kswapd high CPU usage with no swap

From: Jan Kundrát
Date: Wed Sep 26 2007 - 03:28:01 EST


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
2.6.22.7; 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?

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

[1] http://www.redhat.com/archives/nahant-list/2006-March/msg00033.html

Cheers,
-jkt

--
cd /local/pub && more beer > /dev/mouth

Attachment: signature.asc
Description: OpenPGP digital signature