Re: [PATCH v2 08/14] x86/retpoline: Create a retpoline thunk array

From: Josh Poimboeuf
Date: Wed Oct 20 2021 - 11:58:03 EST


On Wed, Oct 20, 2021 at 12:44:50PM +0200, Peter Zijlstra wrote:
> Stick all the retpolines in a single symbol and have the individual
> thunks as inner labels, this should guarantee thunk order and layout.

How so?

Just wondering what the purpose of the array is. It doesn't seem to be
referenced anywhere.

--
Josh