Re: [patch V4 part 2 01/18] x86/entry/64: Move non entry code into .text section

From: Peter Zijlstra
Date: Wed May 06 2020 - 11:52:28 EST


On Tue, May 05, 2020 at 03:41:13PM +0200, Thomas Gleixner wrote:
> All ASM code which is not part of the entry functionality can move out into
> the .text section. No reason to keep it in the non-instrumentable entry
> section.

Just to note to self (or others), I'm planning to move all this into
arch/x86/kernel/kernel.S (bike-shed away) sometime after all this lands.
These things simply do not belong in entry.S at all.