|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH] Avoid triggering the softlockup BUG when offline
On 29/11/06 12:08, "Glauber de Oliveira Costa" <gcosta@xxxxxxxxxx> wrote:
> [LINUX] Avoid triggering the softlockup BUG when offline for too long.
>
> After being offline for a long time, the softlockup watchdog triggers
> a BUG() on our faces. This is expected, as in fact, we spent more than
> a fixed 10*HZ amount of time without touching the watchdog.
>
> However, by inspecting the contents of stolen inside timer irq handler,
> we can gain awareness of the fact, and do better than that.
> This patch fixes it.
Thanks. I changed the threshold to 5*HZ just to avoid marginal cases where
we might be offlined for just less than 10 seconds, and then if the per-cpu
watchdog process hasn't run for a second or two before we were offlined then
that would push us over the edge to print a warning. 5*HZ is much more
comfortable.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|