public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] x86: add xen hypercall preemption
@ 2014-12-10 23:34 Luis R. Rodriguez
  2014-12-10 23:34 ` [PATCH v2 1/2] sched: add cond_resched_irq() Luis R. Rodriguez
  2014-12-10 23:34 ` [PATCH v2 2/2] x86/xen: allow privcmd hypercalls to be preempted Luis R. Rodriguez
  0 siblings, 2 replies; 16+ messages in thread
From: Luis R. Rodriguez @ 2014-12-10 23:34 UTC (permalink / raw)
  To: mingo, peterz
  Cc: tglx, hpa, konrad.wilk, david.vrabel, masami.hiramatsu.pt,
	rostedt, luto, JBeulich, jgross, bpoirier, x86, xen-devel,
	linux-kernel, Luis R. Rodriguez

From: "Luis R. Rodriguez" <mcgrof@suse.com>

This is my second series which addresses hypercall preemption
on Xen. On the first iteration of this series [0] I tried as
much as possible to avoid cond_resched() type of behaviour
but after good feedback I've determined using something like
cond_resched() but on IRQ context is required for preempting
Xen hypercalls. This introduces and uses the new cond_resched_irq().

[0] https://lkml.org/lkml/2014/11/26/630

Luis R. Rodriguez (2):
  sched: add cond_resched_irq()
  x86/xen: allow privcmd hypercalls to be preempted

 arch/x86/kernel/entry_32.S | 21 +++++++++++++++++++++
 arch/x86/kernel/entry_64.S | 17 +++++++++++++++++
 drivers/xen/Makefile       |  2 +-
 drivers/xen/preempt.c      | 17 +++++++++++++++++
 drivers/xen/privcmd.c      |  2 ++
 include/linux/sched.h      |  7 +++++++
 include/xen/xen-ops.h      | 26 ++++++++++++++++++++++++++
 kernel/sched/core.c        | 10 ++++++++++
 8 files changed, 101 insertions(+), 1 deletion(-)
 create mode 100644 drivers/xen/preempt.c

-- 
2.1.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-01-13 21:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10 23:34 [PATCH v2 0/2] x86: add xen hypercall preemption Luis R. Rodriguez
2014-12-10 23:34 ` [PATCH v2 1/2] sched: add cond_resched_irq() Luis R. Rodriguez
2014-12-11 13:31   ` Jan Beulich
     [not found]   ` <5489AADA020000780004EFB9@suse.com>
2014-12-11 21:06     ` Luis R. Rodriguez
2014-12-10 23:34 ` [PATCH v2 2/2] x86/xen: allow privcmd hypercalls to be preempted Luis R. Rodriguez
2014-12-10 23:51   ` Andy Lutomirski
2014-12-11  0:55     ` Luis R. Rodriguez
2014-12-11  1:04       ` Andy Lutomirski
2014-12-11 11:09     ` [Xen-devel] " David Vrabel
2014-12-11 21:05       ` Luis R. Rodriguez
2014-12-11  0:29   ` H. Peter Anvin
2014-12-11  1:03     ` Luis R. Rodriguez
2014-12-11 18:47       ` H. Peter Anvin
2014-12-11 20:39         ` Luis R. Rodriguez
2014-12-18 19:23   ` [Xen-devel] " Konrad Rzeszutek Wilk
2015-01-13 21:21     ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox