]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/page_alloc: factor out fallback freepage checking
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Tue, 14 Apr 2015 22:45:18 +0000 (15:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:49:01 +0000 (16:49 -0700)
commit4eb7dce62007113f1a2778213980fd6d8034ef5e
tree1e12d962e5417af66e5c88ee7c23d007dfe078c9
parentdc67647b78b92d9497f01fab95ac6764ed886b40
mm/page_alloc: factor out fallback freepage checking

This is preparation step to use page allocator's anti fragmentation logic
in compaction.  This patch just separates fallback freepage checking part
from fallback freepage management part.  Therefore, there is no functional
change.

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Mel Gorman <mgorman@suse.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c