Skip to content
Commit ddd32b42 authored by Joonsoo Kim's avatar Joonsoo Kim Committed by H. Peter Anvin
Browse files

x86, mm: Correct vmflag test for checking VM_HUGETLB

commit 611ae8e3

('enable tlb flush range
support for x86') change flush_tlb_mm_range() considerably. After this,
we test whether vmflag equal to VM_HUGETLB and it may be always failed,
because vmflag usually has other flags simultaneously.
Our intention is to check whether this vma is for hughtlb, so correct it
according to this purpose.

Signed-off-by: default avatarJoonsoo Kim <js1304@gmail.com>
Acked-by: default avatarAlex Shi <alex.shi@intel.com>
Link: http://lkml.kernel.org/r/1352740656-19417-1-git-send-email-js1304@gmail.com


Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 226f69a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment