summaryrefslogtreecommitdiffstats
path: root/fs/hugetlbfs/inode.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2012-03-22 00:34:14 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-22 01:54:59 +0100
commitb69add218d32450d6604bc9080f6e33e19b06f5e (patch)
tree67c91d3534c2f7bf01b03a49be7543abe77d16a6 /fs/hugetlbfs/inode.c
parenthugetlbfs: fix alignment of huge page requests (diff)
downloadlinux-b69add218d32450d6604bc9080f6e33e19b06f5e.tar.xz
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/inode.c')
0 files changed, 0 insertions, 0 deletions