]> git.baikalelectronics.ru Git - 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)
commit7f6770ed2d9b1e08b34eadd5337a7c977d51249f
tree4e65db0bc6169ec46f79546f9b0e8756166fb54a
parentf700e78cfbc99e52b65d2666dc3b85edbec02568
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