Re: NMI watchdog + NOHZ question

From: Andi Kleen
Date: Wed Jun 24 2009 - 03:53:52 EST


> > Ah you have a one shot timer and it gets rescheduled in the softirq?
> > If yes why not in doing that directly in the hardirq handler?
>
> Then what's the point of the generic timer code supporting one-shot
> clock sources? :-)

Well it would avoid that problem at least (I think based on your
description). Somehow you need to reschedule the timer before the softirq.

I guess you could have a generic function that is callable from hardirq
directly?

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/