diff options
| author | Baolin Wang <[email protected]> | 2022-05-27 02:01:35 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-04 01:08:39 +0000 |
| commit | 8edaec0756005a3f286c9272e909dff07d12cf75 (patch) | |
| tree | 97d53520d1c4bc9ee052f810b22d2d032b4a4b10 /mm/shrinker_debug.c | |
| parent | kasan: fix zeroing vmalloc memory with HW_TAGS (diff) | |
| download | kernel-8edaec0756005a3f286c9272e909dff07d12cf75.tar.gz kernel-8edaec0756005a3f286c9272e909dff07d12cf75.zip | |
mm/hugetlb: remove unnecessary huge_ptep_set_access_flags() in hugetlb_mcopy_atomic_pte()
There is no need to update the hugetlb access flags after just setting the
hugetlb page table entry by set_huge_pte_at(), since the page table entry
value has no changes.
Thus remove the unnecessary huge_ptep_set_access_flags() in
hugetlb_mcopy_atomic_pte().
Link: https://lkml.kernel.org/r/f3e28b897b53a69967a8b98a6fdcda3be80c9229.1653616175.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/shrinker_debug.c')
0 files changed, 0 insertions, 0 deletions
