Re: [PATCH v5 1/1] selftests/mm/uffd: Refactor non-composite global vars into struct
From: Brendan Jackman
Date: Wed Jun 18 2025 - 06:10:04 EST
On Tue Jun 17, 2025 at 5:22 PM UTC, Peter Xu wrote:
> ERROR: munmap (errno=22, @uffd-common.c:277)
Looks the same as what I reported here:
https://lore.kernel.org/all/DAITJKYRQMFD.OLOUWS7UPGVD@xxxxxxxxxx/
> Ujwal, can you reproduce these issues and have a look?
The script I mentioned in that other mail should help with this:
https://github.com/bjackman/linux/blob/github-base/.github/scripts/run_local.sh
That's my hacky attempt at a "hermetic" runner for these tests, it
ought to let you get the exact Kconfig, userspace, and QEMU command
that I used when I hit the issue.
The GitHub workflow definition shows how to get its dependencies
installed on a Debian-alike:
https://github.com/bjackman/linux/blob/github-base/.github/workflows/test.yaml