Re: Failure during Stack Depot allocating hash table of 1048576 entries with kvcalloc

From: Borislav Petkov
Date: Fri Jan 27 2023 - 18:17:02 EST


Ok,

was finally able to bisect it. Lemme add everybody to Cc.

This one reverted ontop of latest Linus master fixes the vmalloc error here:

https://lore.kernel.org/r/Y8Fq5m0CLfcFLCOY@xxxxxxx

commit 56a61617dd2276cbc56a6c868599716386d70041 (HEAD, refs/bisect/bad)
Author: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
Date: Thu Oct 27 17:50:24 2022 +0800

mm: use stack_depot for recording kmemleak's backtrace

Using stack_depot to record kmemleak's backtrace which has been
implemented on slub for reducing redundant information.

[akpm@xxxxxxxxxxxxxxxxxxxx: fix build - remove now-unused __save_stack_trace()]
[zhaoyang.huang@xxxxxxxxxx: v3]
Link: https://lkml.kernel.org/r/1667101354-4669-1-git-send-email-zhaoyang.huang@xxxxxxxxxx
[akpm@xxxxxxxxxxxxxxxxxxxx: fix v3 layout oddities]
[akpm@xxxxxxxxxxxxxxxxxxxx: coding-style cleanups]
Link: https://lkml.kernel.org/r/1666864224-27541-1-git-send-email-zhaoyang.huang@xxxxxxxxxx
Signed-off-by: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: ke.wang <ke.wang@xxxxxxxxxx>
Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
Cc: Vlastimil Babka <vbabka@xxxxxxx>
Cc: Zhaoyang Huang <huangzhaoyang@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>


--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette