From: Yinghai Lu Date: Wed, 11 Sep 2013 21:20:37 +0000 (-0700) Subject: mm: kill one if loop in __free_pages_bootmem() X-Git-Tag: v3.12-rc1~52^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2d0bd2b924d74d5e0d4f395f8f4730d125e198c;p=pandora-kernel.git 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 Cc: Mel Gorman Acked-by: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed