The loop marks vaddr as mapped after incrementing it by page size,
thereby marking the *next* page as mapped. Set the bit in vpages_mapped
first instead.
Fixes:
|
||
|---|---|---|
| .. | ||
| aarch64 | ||
| riscv | ||
| s390x | ||
| x86_64 | ||
| assert.c | ||
| elf.c | ||
| guest_modes.c | ||
| io.c | ||
| kvm_util.c | ||
| memstress.c | ||
| rbtree.c | ||
| sparsebit.c | ||
| string_override.c | ||
| test_util.c | ||
| ucall_common.c | ||
| userfaultfd_util.c | ||