diff options
| author | Rik van Riel <[email protected]> | 2012-03-24 14:26:21 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-03-24 19:18:32 +0000 |
| commit | 496b919b3bdd957d4b1727df79bfa3751bced1c1 (patch) | |
| tree | 5585608ebdce5a7eca8f5ef334e6b167fcd5aab1 /lib/debugobjects.c | |
| parent | Merge tag 'device-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff) | |
| download | kernel-496b919b3bdd957d4b1727df79bfa3751bced1c1.tar.gz kernel-496b919b3bdd957d4b1727df79bfa3751bced1c1.zip | |
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 <[email protected]>
Signed-off-by: Rik van Riel <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
