x86/entry: Make sync_regs() invocation a tail call
authorPeter Zijlstra <peterz@infradead.org>
Thu, 15 Sep 2022 11:11:14 +0000 (13:11 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Oct 2022 14:41:09 +0000 (16:41 +0200)
commitef79ed20e3ae9ee9ac2e0f3a4e12814893972e63
treecd1dfa11256a97412782d35e879bc5c8bb8a30b0
parent5a9c361a416fc3a3301e859ff09587cc1b933eb8
x86/entry: Make sync_regs() invocation a tail call

No point in having a call there. Spare the call/ret overhead.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111146.539578813@infradead.org
arch/x86/entry/entry_64.S