diff options
author | Xiao Guangrong <[email protected]> | 2012-03-21 16:34:14 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-03-21 17:54:59 -0700 |
commit | b69add218d32450d6604bc9080f6e33e19b06f5e (patch) | |
tree | 67c91d3534c2f7bf01b03a49be7543abe77d16a6 /tools/perf/scripts/python | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions