]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/proc: extend /proc/pid/maps tearing test to include vma resizing
authorSuren Baghdasaryan <surenb@google.com>
Fri, 4 Jul 2025 06:07:20 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 9 Jul 2025 15:10:29 +0000 (11:10 -0400)
commit1f086294b016b422fd49f04765fab7736be03400
treed658100bb3d1b8f8c36624f92a080f8026509f2d
parent1747022146d23d08aa1e50dc2199d930afec5792
selftests/proc: extend /proc/pid/maps tearing test to include vma resizing

Test that /proc/pid/maps does not report unexpected holes in the address
space when a vma at the edge of the page is being concurrently remapped.
This remapping results in the vma shrinking and expanding from  under the
reader. We should always see either shrunk or expanded (original) version
of the vma.

Signed-off-by: Suren Baghdasaryan <surenb@google.com>
tools/testing/selftests/proc/proc-maps-race.c