[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b9396511-810f-4ff6-aead-ceb36dd734b7@huaweicloud.com>
Date: Fri, 29 Aug 2025 10:50:03 +0800
From: Tengda Wu <wutengda@...weicloud.com>
To: Dave Hansen <dave.hansen@...el.com>,
Andrey Ryabinin <ryabinin.a.a@...il.com>, x86@...nel.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
Alexander Potapenko <glider@...gle.com>,
Andrey Konovalov <andreyknvl@...il.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, Dmitry Vyukov
<dvyukov@...gle.com>, Ingo Molnar <mingo@...hat.com>,
linux-kernel@...r.kernel.org, Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [PATCH -next] x86: Prevent KASAN false positive warnings in
__show_regs()
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
Powered by blists - more mailing lists