]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/entry: Split out idtentry_exit_cond_resched()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 May 2020 20:05:25 +0000 (22:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:08 +0000 (15:15 +0200)
commit1de16e0c17155d138282f3a9f65914a9a5da757e
tree4e65db0bc6169ec46f79546f9b0e8756166fb54a
parenteb6555c83933ce8e094d5429d57970aaa9f0591e
x86/entry: Split out idtentry_exit_cond_resched()

The XEN PV hypercall requires the ability of conditional rescheduling when
preemption is disabled because some hypercalls take ages.

Split out the rescheduling code from idtentry_exit_cond_rcu() so it can
be reused for that.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20200521202117.962199649@linutronix.de
arch/x86/entry/common.c