[lkml]   [2001]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectAPM idle behaviour
  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

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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.031 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site