Re: [PATCH -next] x86: Prevent KASAN false positive warnings in __show_regs()

From: Tengda Wu
Date: Thu Aug 28 2025 - 22:50:23 EST




On 2025/8/28 22:13, Dave Hansen wrote:
> On 8/28/25 05:06, Tengda Wu wrote:
>> It seems there's no existing on_current_stack function available.
>> Implementing an on_current_stack function would be somewhat
>> challenging for me.
>
> Is there some reason that object_is_on_stack() won't work?

Ah, that's what it's called! Yes, object_is_on_stack() should work
perfectly for that. Thanks for the clarification.

-- Tengda