Re: [PATCHv2] mm: use stack_depot_early_init for kmemleak

From: Zhaoyang Huang
Date: Tue Jan 17 2023 - 20:31:36 EST


On Wed, Jan 18, 2023 at 8:18 AM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, 17 Jan 2023 16:11:52 +0800 "zhaoyang.huang" <zhaoyang.huang@xxxxxxxxxx> wrote:
>
> > Mirsad report bellow error which caused by stack_depot_init failed in kvcalloc.
> > Solve this by having stackdepot use stack_depot_early_init. Extra Kconfig also
> > done by moving kmemleak stuff to mm/Kconfig.debug.
>
> Are we able to identify which commit caused this regression?
Actually, It could be deemed as a defect of 'mm: use stack_depot for
recording kmemleak's backtrace'(56a61617d).
>
> Thanks.