[PATCH 2/2] kselftest/arm64: Add test for atomic futex uaccess with POE
Mark Brown
broonie at kernel.org
Thu May 21 04:22:30 PDT 2026
On Thu, May 21, 2026 at 10:42:31AM +0100, Kevin Brodsky wrote:
> Add a new test to ensure that atomic futex uaccess succeeds on
> memory mapped with a non-default POIndex/pkey.
> + ptr = mmap(NULL, size, PROT_READ | PROT_WRITE,
> + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
> + ASSERT_NE(ptr, MAP_FAILED);
Doesn't matter while there's only one test but we should probably
munmap() this when we're done.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260521/5476edd4/attachment.sig>
More information about the linux-arm-kernel
mailing list