Linux filesystem development
 help / color / mirror / Atom feed
* [PATCH v5 0/2] fs/proc/task_mmu: fix PAGEMAP_SCAN written state for PMD holes
@ 2026-07-15 14:42 Kiryl Shutsemau
  2026-07-15 14:42 ` [PATCH v5 1/2] " Kiryl Shutsemau
  2026-07-15 14:42 ` [PATCH v5 2/2] selftests/mm: add PAGEMAP_SCAN test for THP " Kiryl Shutsemau
  0 siblings, 2 replies; 8+ messages in thread
From: Kiryl Shutsemau @ 2026-07-15 14:42 UTC (permalink / raw)
  To: akpm
  Cc: usama.anjum, peterx, liam, ljs, vbabka, jannh, pfalcato, david,
	rppt, surenb, mhocko, zenghui.yu, shuah, linux-mm, linux-kernel,
	linux-fsdevel, linux-kselftest, stable, kernel-team

From: "Kiryl Shutsemau (Meta)" <kas@kernel.org>

Patch 1 fixes PAGEMAP_SCAN reporting a PMD hole in a uffd-wp VMA as
not-written (Cc stable). Patch 2 adds the selftest, split out so it is
not backported.

Changes since v4 [1], addressing David's review:
  - Split the selftest into a separate patch (2/2); only the fix (1/2)
    is Cc stable.
  - Rework the commit message and shorten the code comment.
  - Rework the test: mirror unpopulated_scan_test(), skip-and-continue
    on setup failure, rename to unpopulated_thp_scan_test().

[1] https://lore.kernel.org/all/20260713091710.206548-1-kirill@shutemov.name/

Kiryl Shutsemau (Meta) (2):
  fs/proc/task_mmu: fix PAGEMAP_SCAN written state for PMD holes
  selftests/mm: add PAGEMAP_SCAN test for THP PMD holes

 fs/proc/task_mmu.c                         | 20 ++++++-
 tools/testing/selftests/mm/pagemap_ioctl.c | 66 +++++++++++++++++++++-
 2 files changed, 83 insertions(+), 3 deletions(-)


base-commit: 9795ad96d277c4af049fe30de1cebd4e39d7bcbe
-- 
2.54.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-07-16 14:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15 14:42 [PATCH v5 0/2] fs/proc/task_mmu: fix PAGEMAP_SCAN written state for PMD holes Kiryl Shutsemau
2026-07-15 14:42 ` [PATCH v5 1/2] " Kiryl Shutsemau
2026-07-16 11:21   ` David Hildenbrand (Arm)
2026-07-16 12:57   ` Muhammad Usama Anjum
2026-07-15 14:42 ` [PATCH v5 2/2] selftests/mm: add PAGEMAP_SCAN test for THP " Kiryl Shutsemau
2026-07-16 11:25   ` David Hildenbrand (Arm)
2026-07-16 13:03     ` Kiryl Shutsemau
2026-07-16 14:40       ` David Hildenbrand (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox