Skip to content

mm/debug_vm_pgtable: Some minor updates

Anshuman Khandual linux-mm lkml 3 versions – Applied

Status from this message: [merged] mm-debug_vm_pgtable-basic-iterate-over-entire-protection_map.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied 2/2
  2. v22 patches 4 repliesSuperseded
  3. v12 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Modified the comments for pxx_dirty(pxx_wrprotect(pxx)) tests per Steven

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/debug_vm_pgtable/basic: Add validation for dirtiness after write protectDocumentation/vm/arch_pgtable_helpers.rst mm/debug_vm_pgtable.c+43 -40 repliesApplied
2/2mm/debug_vm_pgtable/basic: Iterate over entire protection_map[]mm/debug_vm_pgtable.c+35 -120 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGerald SchaeferSteven Price
1/2T-b
2/2T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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 <[email protected]>
Cc Gerald Schaefer <[email protected]>
Cc Vineet Gupta <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Andrew Morton <[email protected]>

Changes in V3:

- Modified the comments for pxx_dirty(pxx_wrprotect(pxx)) tests per Steven

Changes in V2:

https://lore.kernel.org/linux-mm/[email protected]/

- 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/[email protected]/

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(-)
Signature · 1 line
2.20.1