From: Xiao Guangrong Date: Wed, 21 Mar 2012 23:34:14 +0000 (-0700) Subject: hugetlb: remove prev_vma from hugetlb_get_unmapped_area_topdown() X-Git-Tag: v3.4-rc1~158^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69add218d32450d6604bc9080f6e33e19b06f5e;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed