From: Marek Szyprowski Date: Wed, 12 Dec 2012 00:02:57 +0000 (-0800) Subject: mm: cma: skip watermarks check for already isolated blocks in split_free_page() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~81^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e30abd1730751d58463d88bc0844ab8fd7112a9;p=pandora-kernel.git mm: cma: skip watermarks check for already isolated blocks in split_free_page() Since commit 2139cbe627b8 ("cma: fix counting of isolated pages") free pages in isolated pageblocks are not accounted to NR_FREE_PAGES counters, so watermarks check is not required if one operates on a free page in isolated pageblock. Signed-off-by: Marek Szyprowski Cc: Kyungmin Park Cc: Arnd Bergmann Cc: Mel Gorman Acked-by: Michal Nazarewicz Cc: Minchan Kim Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed