diff options
| author | Ralph Campbell <[email protected]> | 2019-07-25 17:56:49 -0700 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-07-26 12:13:10 -0300 |
| commit | f527688d5d8a80d2d1b2c02779105747c2f4f705 (patch) | |
| tree | 5bffa835da6ceda054b455b24e85fcf3714fb9ef /include/linux | |
| parent | d45d464b118f428229d91769c8a3cc1e2e0bb4d5 (diff) | |
mm/hmm: remove hugetlbfs check in hmm_vma_walk_pmd
walk_page_range() will only call hmm_vma_walk_hugetlb_entry() for
hugetlbfs pages and doesn't call hmm_vma_walk_pmd() in this case.
Therefore, it is safe to remove the check for vma->vm_flags & VM_HUGETLB
in hmm_vma_walk_pmd().
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ralph Campbell <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions