Re: [RFC PATCH v3 06/15] jump_label: Add forceful jump label type
From: Josh Poimboeuf
Date: Thu Nov 21 2024 - 15:21:28 EST
On Thu, Nov 21, 2024 at 04:51:09PM +0100, Valentin Schneider wrote:
> Okay so forcing the IPI for .noinstr patching lets us get rid of all the
> force_ipi faff; however I would still want the special marking to tell
> objtool "yep we're okay with this one", and still get warnings when a new
> .noinstr key gets added so we double think about it.
Yeah. Though, instead of DECLARE_STATIC_KEY_FALSE_NOINSTR adding a new
jump label type, it could just add an objtool annotation pointing to the
key. If that's the way we're going I could whip up a patch if that
would help.
--
Josh