From: Leendert van Doorn Subject: [PATCH] scheduling VMX partitions broken Date: Fri, 11 Mar 2005 23:28:12 -0500 Message-ID: <20050312042812.52A4D101E@huxley.watson.ibm.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net Cc: Ian Pratt , Keir.Fraser@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org With the following restructuring of the scheduling code in xeno-unstable.bk: ChangeSet@1.1301.1.16, 2005-03-09 09:01:46+00:00, kaf24@firebug.cl.cam.ac.uk 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 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 --- domain.c.orig 2005-03-11 22:53:21.824332000 -0500 +++ domain.c 2005-03-11 22:55:24.344332000 -0500 @@ -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