]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: cma: skip watermarks check for already isolated blocks in split_free_page()
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 29 Nov 2012 03:17:28 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:11 +0000 (16:23 +1100)
commitb59d530a1b8ce20969e116e40a9e30fe8e181999
tree597ebdf6c5daeace7a68851fa67f1d7ba0252c95
parent3f2e89b68e18b17b5cb7652b5d45b7aee92c0a81
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 <m.szyprowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Mel Gorman <mel@csn.ul.ie>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c