[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] scheduler independent forced vcpu selection

* Stephan Diestelhorst <sd386@xxxxxxxxxxxx> [2005-05-18 09:04]:
> Are you calling do_softirq directly? If not then it is quite strange,

No, I just call raise_softirq(SCHEDULE_SOFTIRQ); without a subsequent

> that this assertion fails.
> The timer assertion might be the old scheduling timer, which gets
> probably reset, but not deleted beforehand... And the on runqueue
> assertion suggests that you are 'stealing' the domain from the
> schedulers queues without giving it a chance to notice.

Could you explain what 'giving it a chance to notice' means?

> I'd guess cloning do_block and appending code from __enter_scheduler
> with some checks (is the 'receiver' domain runnable? if not run proper
> sched.do_schedule) should give you a solid base to start from.

Let me add in a check for domain_runnable and see if that helps.

Thanks for the feedback.  Let me know if you want me to post the patch
of where I'm at right now.

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

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.