git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92310c
)
mm: kill one if loop in __free_pages_bootmem()
author
Yinghai Lu
<yinghai@kernel.org>
Wed, 11 Sep 2013 21:20:37 +0000
(14:20 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:57:19 +0000
(15:57 -0700)
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>
mm/page_alloc.c
patch
|
blob
|
history
diff --cc
mm/page_alloc.c
Simple merge