Re: Linux 4.16-rc4

From: Peter Zijlstra
Date: Mon Mar 05 2018 - 12:13:06 EST


On Mon, Mar 05, 2018 at 07:38:49AM -0600, Josh Poimboeuf wrote:
> It looks like read_retpoline_hints() is "special" compared to the other
> annotation reading functions.

I copied the pattern from read_unwind_hints.. which might not have been
the best choice it appears ;-)

> The easiest fix would be to convert it to
> be like the others.

So instead of actually reading the section, it iterates the relocation
records for the section, yes that should work nicely.

Thanks!