summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorYinghai Lu2013-09-11 23:20:37 +0200
committerLinus Torvalds2013-09-12 00:57:19 +0200
commite2d0bd2b924d74d5e0d4f395f8f4730d125e198c (patch)
tree1ed63051163b55dce3491cb6cee65d621a80c923 /mm/huge_memory.c
parentmm/page_alloc.c: fix the value of fallback_migratetype in alloc_extfrag trace... (diff)
downloadkernel-qcow2-linux-e2d0bd2b924d74d5e0d4f395f8f4730d125e198c.tar.gz
kernel-qcow2-linux-e2d0bd2b924d74d5e0d4f395f8f4730d125e198c.tar.xz
kernel-qcow2-linux-e2d0bd2b924d74d5e0d4f395f8f4730d125e198c.zip
mm: kill one if loop in __free_pages_bootmem()
We should not check loop+1 with loop end in loop body. Just duplicate two lines code to avoid it. That will help a bit when we have huge amount of pages on system with 16TiB memory. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Cc: Mel Gorman <mgorman@suse.de> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions