Re: [mm/slub] 555b8c8cb3: WARNING:at_lib/stackdepot.c:#stack_depot_fetch

From: Marco Elver
Date: Wed Apr 06 2022 - 11:13:45 EST


On Wed, Apr 06, 2022 at 08:50PM +0900, Hyeonggon Yoo wrote:
[...]
> > I'd prefer fixing it as close to the root-cause (in kmem_obj_info()) to
> > avoid that.
> >
> > What do you prefer?
>
> Then what about something like this?
>
> kmem_obj_info(object) {
> if (object is from kfence)
> __kfence_obj_info()
> else
> __kmem_obj_info()
> }

How about the below?

Thanks,
-- Marco

------ >8 ------