summaryrefslogtreecommitdiff
path: root/drivers/block/xen-blkfront.c
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2012-03-24 14:26:21 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-24 19:18:32 (GMT)
commit496b919b3bdd957d4b1727df79bfa3751bced1c1 (patch)
tree5585608ebdce5a7eca8f5ef334e6b167fcd5aab1 /drivers/block/xen-blkfront.c
parent250f6715a4112d6686670c5a62ceb9305da94616 (diff)
downloadlinux-fsl-qoriq-496b919b3bdd957d4b1727df79bfa3751bced1c1.tar.xz
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>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
0 files changed, 0 insertions, 0 deletions