Massive number of unexplained wakeups on Thinkpad X60s

John Fremlin john at fremlin.org
Tue Jun 5 17:40:12 PDT 2007


The wake-up calculation used is this:

		for (i = 0; i < 8; i++)
			if (cur_usage[i])
				totalevents += cur_usage[i] - last_usage[i];

where the cur_usage is the number of times C-state i has been entered.

Unfortunately, C0 does not produce usage stats.

This algorithm would seem to produce the wrong result when
transitioning between lower C-states occurs. It does not count
wake-ups at all.



More information about the Power mailing list