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

Test that /proc/pid/maps does not report unexpected holes in the address
space when we concurrently remap a part of a vma into the middle of
another vma. This remapping results in the destination vma being split
into three parts and the part in the middle being patched back from,
all done concurrently from under the reader. We should always see either
original vma or the split one with no holes.

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