diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2012-03-22 03:34:14 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 04:54:59 +0400 |
commit | b69add218d32450d6604bc9080f6e33e19b06f5e (patch) | |
tree | 67c91d3534c2f7bf01b03a49be7543abe77d16a6 /fs | |
parent | 40716e29243de46720e5773797791466c28904ec (diff) | |
download | linux-b69add218d32450d6604bc9080f6e33e19b06f5e.tar.xz |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions