diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index f1c97b3028..891ae8d98e 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -76,6 +76,7 @@ rn@wyvis.camb.intel-research.net rn@wyvis.research.intel-research.net rneugeba@wyvis.research rneugeba@wyvis.research.intel-research.net +ryanh@us.ibm.com sd386@font.cl.cam.ac.uk shand@spidean.research.intel-research.net smh22@boulderdash.cl.cam.ac.uk diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 459e0ee7c6..8062fdac73 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -387,7 +387,7 @@ static void __enter_scheduler(void) perfc_incrc(sched_ctx); #if defined(WAKE_HISTO) - if ( !is_idle_task(next) && next->wokenup ) { + if ( !is_idle_task(next->domain) && next->wokenup ) { ulong diff = (ulong)(now - next->wokenup); diff /= (ulong)MILLISECS(1); if (diff <= BUCKETS-2) schedule_data[cpu].hist[diff]++; @@ -396,7 +396,7 @@ static void __enter_scheduler(void) next->wokenup = (s_time_t)0; #elif defined(BLOCKTIME_HISTO) prev->lastdeschd = now; - if ( !is_idle_task(next) ) + if ( !is_idle_task(next->domain) ) { ulong diff = (ulong)((now - next->lastdeschd) / MILLISECS(10)); if (diff <= BUCKETS-2) schedule_data[cpu].hist[diff]++;