Hi, all. I've been staring at the APM code and trying to figure out
some things related to idle behaviour. I'm staring at the code for
2.2.19.
My first question is why does cpu_idle() wait for 0.33 seconds of
idling before calling acpi_idle() (apm_cpu_idle() in fact)? Why not
wait less time, or more?
Another question is why do PS/2 mouse events break out of
apm_cpu_idle() whereas keyboard events do not? I've hacked
apm_cpu_idle() to increment a global counter, and then I can run a
programme to show the value of this counter. I can type in commands
and even switched between windows using a keyboard shortcut, and the
global counter doesn't increment. As soon as I move the mouse or press
a mouse key, the counter will increment.
Regards,
Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:11 EST