Re: [RFC PATCH v3 06/15] jump_label: Add forceful jump label type
From: Valentin Schneider
Date: Fri Nov 22 2024 - 05:17:57 EST
On 21/11/24 12:21, Josh Poimboeuf wrote:
> 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.
>
Well I'm down for the approach and I'd appreciate help for the objtool side
:-)
> --
> Josh