All of lore.kernel.org
 help / color / mirror / Atom feed
* scheduler independent forced vcpu selection
@ 2005-05-17 20:48 Ryan Harper
  2005-05-18 12:10 ` Stephan Diestelhorst
  0 siblings, 1 reply; 9+ messages in thread
From: Ryan Harper @ 2005-05-17 20:48 UTC (permalink / raw)
  To: xen-devel

I'm working on a new hypercall, do_confer, which allows the directed
yielding of a vcpu to another vcpu.  It is mainly used when a vcpu fails
to acquire a spinlock, yielding to the lock holder instead of spinning. I
ported the ppc64 spinlock implementation for the i386 linux portion.  In
implementing the hypercall, I've been trying to figure out how to get
the scheduler (I've only played with bvt) to run the vcpu passed in the
hypercall (after some validation) but I've run into various bad state
situations (do_softirq pending != 0 assert, '!active_ac_timer(timer)'
failed , and __task_on_runqueue(prev) failed) which tells me I
don't fully understand all of the book-keeping that is needed.  Has
anyone thought about how to do this with either BVT or the new EDF
scheduler?

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

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

end of thread, other threads:[~2005-05-19 15:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-17 20:48 scheduler independent forced vcpu selection Ryan Harper
2005-05-18 12:10 ` Stephan Diestelhorst
2005-05-18 14:55   ` Ryan Harper
2005-05-18 18:03   ` Ryan Harper
2005-05-19 13:22     ` Stephan Diestelhorst
2005-05-18 22:37   ` Ryan Harper
2005-05-19 13:25     ` Stephan Diestelhorst
2005-05-19 14:55       ` Ryan Harper
2005-05-19 15:05       ` Ryan Harper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.