From: Konstantin Khlebnikov Date: Wed, 29 Oct 2014 21:51:02 +0000 (-0700) Subject: mm/balloon_compaction: fix deflation when compaction is disabled X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~39^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d88e6f7d5ffc84e6094a47925870f4a130555c2;p=pandora-kernel.git mm/balloon_compaction: fix deflation when compaction is disabled If CONFIG_BALLOON_COMPACTION=n balloon_page_insert() does not link pages with balloon and doesn't set PagePrivate flag, as a result balloon_page_dequeue() cannot get any pages because it thinks that all of them are isolated. Without balloon compaction nobody can isolate ballooned pages. It's safe to remove this check. Fixes: d6d86c0a7f8d ("mm/balloon_compaction: redesign ballooned pages management"). Signed-off-by: Konstantin Khlebnikov Reported-by: Matt Mullins Cc: [3.17] Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed