[PATCH V3 0/2] mm/debug_vm_pgtable: Some minor updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series contains some cleanups and new test suggestions from Catalin
from an earlier discussion.

https://lore.kernel.org/linux-mm/20201123142237.GF17833@gaia/

This series is based on v5.11-rc4 and has been tested on arm64, s390 and x86
but has only been build tested on riscv, arc etc. It would be great if folks
could test this on these platforms as well. Thank you.

Cc: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
Cc: Gerald Schaefer <gerald.schaefer@xxxxxxxxxxxxx>
Cc: Vineet Gupta <vgupta@xxxxxxxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Changes in V3:

- Modified the comments for pxx_dirty(pxx_wrprotect(pxx)) tests per Steven
 
Changes in V2:

https://lore.kernel.org/linux-mm/1606825169-5229-1-git-send-email-anshuman.khandual@xxxxxxx/

- Added some missing tests in pud_basic_tests()
- Added bidirectional dirty check after pxx_wrprotect() per Catalin
- Moved WARN_ON(pte_dirty(pte_wrprotect(pte))) just after page table entry creation

Changes in V1:

https://lore.kernel.org/linux-mm/1606453584-15399-1-git-send-email-anshuman.khandual@xxxxxxx/

Anshuman Khandual (2):
  mm/debug_vm_pgtable/basic: Add validation for dirtiness after write protect
  mm/debug_vm_pgtable/basic: Iterate over entire protection_map[]

 Documentation/vm/arch_pgtable_helpers.rst |  8 +--
 mm/debug_vm_pgtable.c                     | 86 +++++++++++++++++++----
 2 files changed, 78 insertions(+), 16 deletions(-)

-- 
2.20.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux