[RFC][PATCH 0/6] objtool: Optimize !retpoline

From: Peter Zijlstra
Date: Fri Feb 19 2021 - 16:13:42 EST


Hi,

Here's a few patches that go on top of the previously posted series:

https://lkml.kernel.org/r/20210211173044.141215027@xxxxxxxxxxxxx
https://lkml.kernel.org/r/20210218165938.213678824@xxxxxxxxxxxxx

and can also be found, in full, here:

git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git objtool/wip

The purpose is to replace every compiler generated (tail) call to the retpoline
thunks with an alternative, one that avoids the thunk when retpolines are
disabled.

Very lightly tested...