commit | b69add218d32450d6604bc9080f6e33e19b06f5e | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | Wed Mar 21 16:34:14 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Mar 21 17:54:59 2012 -0700 |
tree | 67c91d3534c2f7bf01b03a49be7543abe77d16a6 | |
parent | 40716e29243de46720e5773797791466c28904ec [diff] |
hugetlb: remove prev_vma from hugetlb_get_unmapped_area_topdown() 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>