Re: [PATCH v2 01/14] objtool: Tag retpoline thunk symbols

From: Josh Poimboeuf
Date: Wed Oct 20 2021 - 11:17:23 EST


On Wed, Oct 20, 2021 at 12:44:43PM +0200, Peter Zijlstra wrote:
> In order to avoid calling arch_is_retpoline() (which does a strcmp)
> over and over on symbols, tag them once upfront.
>
> XXX do we also want to do __fentry__ ?

Might as well.

> XXX do we want an enum instead of a bunch of bools ?

Maybe, or convert the bools to bit fields.

--
Josh