diff options
| author | Tianyi Chen <hi@tychen.cc> | 2026-09-08 17:55:15 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-08 22:55:03 -0700 |
| commit | c32fddc0a01da9627789cd5cb3add00b75081da6 (patch) | |
| tree | b001f7d6585f2a464dc13fd28762f12cc6b7f8fc /scripts/livepatch/fix-patch-lines | |
| parent | 15da1e4978dd4ea8f5faa6e15ee967ba4ad9a30a (diff) | |
tools/testing/vma: cover hole filling through __mmap_region()
The mmap tests extend existing mappings one neighbor at a time, while
merge tests construct merge state directly. Neither exercises filling a
hole between compatible mappings through the mmap setup and completion
path.
Fill a gap through __mmap_region() and require both neighbors to merge
into one VMA. Repeat with only the new mapping's execute permission set
and require three separate VMAs. Check boundaries, permissions, page
offsets, map_count and cleanup.
Link: https://lore.kernel.org/178886112560.138404.17741948638665342936.vma-v2@tychen.cc
Signed-off-by: Tianyi Chen <hi@tychen.cc>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Assisted-by: Codex:GPT-6
Cc: Jann Horn <jannh@google.com>
Cc: Liam R. Howlett <liam@infradead.org>
Cc: Pedro Falcato <pfalcato@suse.de>
Cc: Vlastimil Babka <vbabka@kernel.org>
Diffstat (limited to 'scripts/livepatch/fix-patch-lines')
0 files changed, 0 insertions, 0 deletions
