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:
40716e2
)
hugetlb: remove prev_vma from hugetlb_get_unmapped_area_topdown()
author
Xiao Guangrong
<xiaoguangrong@linux.vnet.ibm.com>
Wed, 21 Mar 2012 23:34:14 +0000
(16:34 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 22 Mar 2012 00:54:59 +0000
(17:54 -0700)
After looking up the vma which covers or follows the cached search
address, the following condition is always true:
!prev_vma || (addr >= prev_vma->vm_end)
so we can stop checking the previous VMA altogether.
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found