Rik van Riel 496b919b3b Fix potential endless loop in kswapd when compaction is not enabled
We should only test compaction_suitable if the kernel is built with
CONFIG_COMPACTION, otherwise the stub compaction_suitable function will
always return COMPACT_SKIPPED and send kswapd into an infinite loop.

Reported-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-03-24 12:18:32 -07:00
..
2012-01-03 22:54:56 -05:00
2011-07-26 16:49:47 -07:00
2011-11-02 16:06:57 -07:00
2011-10-31 17:30:44 -07:00
2012-03-23 16:58:42 -07:00
2010-05-21 18:31:21 -04:00
2011-03-10 08:52:27 +01:00
2012-01-20 09:23:16 -08:00
2012-01-14 18:11:11 -08:00
2011-05-20 12:50:29 -07:00
2011-10-31 17:30:50 -07:00