diff options
author | Vlastimil Babka <[email protected]> | 2024-10-01 18:20:48 +0200 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2024-10-02 16:28:46 +0200 |
commit | 3f1dd33f99677e7025b45a2b8d2baa04985ff4dc (patch) | |
tree | 3c8350c12dedc350d31b48904d6d9542b5ff0e02 /scripts/gdb/linux/timerlist.py | |
parent | 3c5d61ae919cc377c71118ccc76fa6e8518023f8 (diff) |
mm, slab: suppress warnings in test_leak_destroy kunit test
The test_leak_destroy kunit test intends to test the detection of stray
objects in kmem_cache_destroy(), which normally produces a warning. The
other slab kunit tests suppress the warnings in the kunit test context,
so suppress warnings and related printk output in this test as well.
Automated test running environments then don't need to learn to filter
the warnings.
Also rename the test's kmem_cache, the name was wrongly copy-pasted from
test_kfree_rcu.
Fixes: 4e1c44b3db79 ("kunit, slub: add test_kfree_rcu() and test_leak_destroy()")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]
Reported-by: Hyeonggon Yoo <[email protected]>
Closes: https://lore.kernel.org/all/CAB=+i9RHHbfSkmUuLshXGY_ifEZg9vCZi3fqr99+kmmnpDus7Q@mail.gmail.com/
Reported-by: Guenter Roeck <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Tested-by: Guenter Roeck <[email protected]>
Reviewed-by: Hyeonggon Yoo <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions