Re: [PATCHv2] mm: use stack_depot_early_init for kmemleak

From: Andrew Morton
Date: Tue Jan 17 2023 - 19:42:02 EST


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.

I don't understand - what was the reason for the Kconfig change?