The patch titled Subject: selftests: add a kselftest for SLUB debugging functionality-fix has been added to the -mm tree. Its filename is selftests-add-a-kselftest-for-slub-debugging-functionality-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/selftests-add-a-kselftest-for-slub-debugging-functionality-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/selftests-add-a-kselftest-for-slub-debugging-functionality-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Vlastimil Babka <vbabka@xxxxxxx> Subject: selftests: add a kselftest for SLUB debugging functionality-fix Remove a BUILD_BUG_ON left over from original resiliency_test() that breaks builds. Link: https://lkml.kernel.org/r/53cc267d-aa0a-071a-f9f8-0b47ec4b2b9d@xxxxxxx Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/test_slub.c | 3 --- 1 file changed, 3 deletions(-) --- a/lib/test_slub.c~selftests-add-a-kselftest-for-slub-debugging-functionality-fix +++ a/lib/test_slub.c @@ -97,9 +97,6 @@ static void __init test_clobber_redzone_ static void __init resiliency_test(void) { - - BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 || KMALLOC_SHIFT_HIGH < 10); - pr_err("SLUB resiliency testing\n"); pr_err("-----------------------\n"); pr_err("A. Corruption after allocation\n"); _ Patches currently in -mm which might be from vbabka@xxxxxxx are mm-slub-enable-slub_debug-static-key-when-creating-cache-with-explicit-debug-flags.patch selftests-add-a-kselftest-for-slub-debugging-functionality-fix.patch