Message ID | 20220127015226.QSDavwGEn%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | + mm-debug_vm_pgtable-remove-pte-entry-from-the-page-table.patch added to -mm tree | expand |
--- a/mm/debug_vm_pgtable.c~mm-debug_vm_pgtable-remove-pte-entry-from-the-page-table +++ a/mm/debug_vm_pgtable.c @@ -171,6 +171,8 @@ static void __init pte_advanced_tests(st ptep_test_and_clear_young(args->vma, args->vaddr, args->ptep); pte = ptep_get(args->ptep); WARN_ON(pte_young(pte)); + + ptep_get_and_clear_full(args->mm, args->vaddr, args->ptep, 1); } static void __init pte_savedwrite_tests(struct pgtable_debug_args *args)