[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] Re: [Xen-devel] Time went backwards
On Tue, 14 Mar 2006, Keir Fraser wrote: > On 14 Mar 2006, at 15:13, Rik van Riel wrote: > > > Tick N: > > delta = 2.2 > > stolen = 0.9 > > blocked = 0.7 > > > > stolen and blocked will not get incremented, while > > the per-cpu processed_time gets 2 jiffies > > But we decrement delta_cpu *before* rounding down. So, after handling > stolen and blocked, we'll end up with delta_cpu==0.6 which gets rounded > down to 0 and so per-cpu processed_time gets 0 jiffies? Hmmmm good point! Now I no longer understand my own bugfix. Great... -- All Rights Reversed _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |