[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Fix softlockup issue after vcpu hotplug
On 1/2/07 22:40, "Graham, Simon" <Simon.Graham@xxxxxxxxxxx> wrote: > I also considered only touching the watchdog timer every 5s or so, but I > think the code to do that would have more overhead than simply touching > it for every do_timer() call (since it's just a call that copies jiffies > to the per-cpu watchdog timer value). > > Take a look and let me know what you think (the printk could be removed > -- I just put it in so I could tell the code was running). The test inside the loop should check against NS_PER_TICK*100, not just 0. You only want to override the usual running of the watchdog if you get a big bunch of time stolen from you. Actually, five seconds (NS_PER_TICK*5*HZ) would be good: no reason to make the comparison dependent on the duration of a jiffy. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |