aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorLorenzo Stoakes <[email protected]>2025-04-25 16:24:36 +0000
committerAndrew Morton <[email protected]>2025-05-08 06:39:40 +0000
commita8efadda8649506e80d256cc09656acc0783df2b (patch)
tree855eeb84a68ac9c0e5ea387be12939373ebfe59b /mm/vmalloc.c
parentocfs2: stop quota recovery before disabling quotas (diff)
downloadkernel-a8efadda8649506e80d256cc09656acc0783df2b.tar.gz
kernel-a8efadda8649506e80d256cc09656acc0783df2b.zip
tools/testing/selftests: fix guard region test tmpfs assumption
The current implementation of the guard region tests assume that /tmp is mounted as tmpfs, that is shmem. This isn't always the case, and at least one instance of a spurious test failure has been reported as a result. This assumption is unsafe, rushed and silly - and easily remedied by simply using memfd, so do so. We also have to fixup the readonly_file test to explicitly only be applicable to file-backed cases. Link: https://lkml.kernel.org/r/[email protected] Fixes: 272f37d3e99a ("tools/selftests: expand all guard region tests to file-backed") Signed-off-by: Lorenzo Stoakes <[email protected]> Reported-by: Ryan Roberts <[email protected]> Closes: https://lore.kernel.org/linux-mm/[email protected]/ Reviewed-by: Ryan Roberts <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions