Skip to contentSkip to conversation

bvt scheduler setup based on other or shadow domain

PATCH New Satoshi Uchida 1 participant 1 message Oct 21, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bvt scheduler setup based on other or shadow domain

Hi.

The bvt schedule setting error which I found in the past in xen 2.0 series is not modified at xen 3.0 (-unstable).
When I found it, there are two solutions, so I can not decided which more better.

In xen 3.0, new scheduler (EDF) is improved this problem. Therefore, this patch is modified above problem similar to new scheduler.

In xen 3.0, new scheduler is default scheduler, but I happy that this patch is applied.

from xen_changeset : Wed Oct 19 18:18:30 2005 +0100 7438:fb265175f47c

*** a/xen/common/sched_bvt.c Thu Oct 20 12:58:06 2005
--- b/xen/common/sched_bvt.c Fri Oct 21 19:22:52 2005
***************
*** 327,334 ****

          /* The warp should be the same as warpback */
          inf->warp = warpback;
          inf->warp_value = warpvalue;
!         inf->warpl = MILLISECS(warpl);
!         inf->warpu = MILLISECS(warpu);
          
          /* If the unwarp timer set up it needs to be removed */
          rem_ac_timer(&inf->unwarp_timer);
--- 327,334 ----
          /* The warp should be the same as warpback */
          inf->warp = warpback;
          inf->warp_value = warpvalue;
!         inf->warpl = warpl;
!         inf->warpu = warpu;
          
          /* If the unwarp timer set up it needs to be removed */
          rem_ac_timer(&inf->unwarp_timer);

Satoshi Uchida