summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorGioh Kim2015-04-16 01:13:33 +0200
committerLinus Torvalds2015-04-16 01:35:17 +0200
commit195b0c60809ce841e5818b365808e7da3286fd3c (patch)
tree9bc2493c7ea9a21f10f0d4ba8cda050bd6eb4b33 /mm/hugetlb.c
parentmm, memcg: sync allocation and memcg charge gfp flags for THP (diff)
downloadkernel-qcow2-linux-195b0c60809ce841e5818b365808e7da3286fd3c.tar.gz
kernel-qcow2-linux-195b0c60809ce841e5818b365808e7da3286fd3c.tar.xz
kernel-qcow2-linux-195b0c60809ce841e5818b365808e7da3286fd3c.zip
mm/compaction: reset compaction scanner positions
When the compaction is activated via /proc/sys/vm/compact_memory it would better scan the whole zone. And some platforms, for instance ARM, have the start_pfn of a zone at zero. Therefore the first try to compact via /proc doesn't work. It needs to reset the compaction scanner position first. Signed-off-by: Gioh Kim <gioh.kim@lge.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions