diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2012-03-21 16:34:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-21 17:54:59 -0700 |
commit | b69add218d32450d6604bc9080f6e33e19b06f5e (patch) | |
tree | 67c91d3534c2f7bf01b03a49be7543abe77d16a6 /fs/hugetlbfs | |
parent | 40716e29243de46720e5773797791466c28904ec (diff) | |
download | linux-b69add218d32450d6604bc9080f6e33e19b06f5e.tar.gz linux-b69add218d32450d6604bc9080f6e33e19b06f5e.tar.bz2 linux-b69add218d32450d6604bc9080f6e33e19b06f5e.zip |
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/hugetlbfs')
0 files changed, 0 insertions, 0 deletions