Re: [PATCH 3/3] PM: Introduce Intel PowerClamp Driver

From: Jacob Pan
Date: Tue Nov 13 2012 - 20:24:40 EST


On Tue, 13 Nov 2012 16:03:00 -0800
"Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

> Just to make sure I am really understanding what is happening, let's
> suppose we have a HZ=1000 system that has a few tasks that
> occasionally run at prio 99. These tasks would run during the clamp
> interval, but would (for example) see the jiffies counter remaining
> at the value at the beginning of the clamp interval until the end of
> that interval, when the jiffies counter would suddenly jump by roughly
> six counts, right?

Yes, if there is no interrupts disturb the clamping duration.
We do not mask interrupts which will update jiffies.

--
Thanks,

Jacob
--
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/