summaryrefslogtreecommitdiff
path: root/mm/zswap.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-02-08 18:30:10 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-02-21 01:20:48 +0300
commit1eb1e984379e2da04361763f66eec90dd75cf63e (patch)
tree38bd1ef07b9658eb88b08ae241154d932b51c5dd /mm/zswap.c
parent13ddaf26be324a7f951891ecd9ccd04466d27458 (diff)
downloadlinux-1eb1e984379e2da04361763f66eec90dd75cf63e.tar.xz
lib/Kconfig.debug: TEST_IOV_ITER depends on MMU
Trying to run the iov_iter unit test on a nommu system such as the qemu kc705-nommu emulation results in a crash. KTAP version 1 # Subtest: iov_iter # module: kunit_iov_iter 1..9 BUG: failure at mm/nommu.c:318/vmap()! Kernel panic - not syncing: BUG! The test calls vmap() directly, but vmap() is not supported on nommu systems, causing the crash. TEST_IOV_ITER therefore needs to depend on MMU. Link: https://lkml.kernel.org/r/20240208153010.1439753-1-linux@roeck-us.net Fixes: 2d71340ff1d4 ("iov_iter: Kunit tests for copying to/from an iterator") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Cc: David Howells <dhowells@redhat.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions