scheduling VMX partitions broken
PATCH 1/1 scheduling VMX partitions broken
With the following restructuring of the scheduling code in xeno-unstable.bk:
[email protected], 2005-03-09 09:01:46+00:00, [email protected]
New arch-specific function context_switch() subsumes switch_to() and schedule_tail() which are now not at all visible to common code.
Signed-off-by Keir Fraser <[email protected]>
a VMX partition was all setup to run, but never actually got scheduled. The following patch fixes this.
Leendert
Signed-off-by Leendert van Doorn <[email protected]>
domain.c renamed from domain.c.orig +2 -1
@@ -765,7 +765,7 @@ __asm__ __volatile__ ("lgdt %0" :"=m" (*next_p->arch.gdt));__sti (); - return; + goto schedule_next; }#endif
@@ -810,6 +810,7 @@switch_segments (stack_ec, prev_p, next_p); +schedule_next:/* * We do this late on because it doesn't need to be protected by the * schedule_lock, and because we want this to be the very last use of
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click