Andi Kleen
95833c83f3
[PATCH] x86_64: Add idle notifiers
...
This adds a new notifier chain that is called with IDLE_START
when a CPU goes idle and IDLE_END when it goes out of idle.
The context can be idle thread or interrupt context.
Since we cannot rely on MONITOR/MWAIT existing the idle
end check currently has to be done in all interrupt
handlers.
They were originally inspired by the similar s390 implementation.
They have a variety of applications:
- They will be needed for CONFIG_NO_IDLE_HZ
- They can be used for oprofile to fix up the missing time
in idle when performance counters don't tick.
- They can be used for better C state management in ACPI
- They could be used for microstate accounting.
This is just infrastructure so far, no users.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-11 19:04:55 -08:00
..
2005-04-16 15:20:36 -07:00
2005-06-21 18:46:12 -07:00
2005-08-25 12:40:44 -04:00
2005-06-07 12:35:43 -07:00
2006-01-11 19:04:54 -08:00
2005-09-12 10:49:56 -07:00
2006-01-09 15:59:17 -08:00
2005-09-07 16:57:21 -07:00
2006-01-11 19:04:50 -08:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:58:51 -07:00
2005-09-12 10:50:58 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:13:39 -08:00
2006-01-06 08:33:36 -08:00
2005-09-12 10:50:56 -07:00
2005-08-29 16:02:48 -07:00
2006-01-11 19:04:53 -08:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:58:49 -07:00
2005-04-16 15:20:36 -07:00
2005-09-09 21:28:48 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:04:53 -08:00
2005-04-16 15:20:36 -07:00
2005-10-31 10:51:57 -08:00
2005-11-14 19:55:13 -08:00
2006-01-11 19:01:10 -08:00
2006-01-10 08:01:27 -08:00
2005-11-07 07:53:41 -08:00
2005-07-26 14:35:42 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:38 -07:00
2005-09-12 10:50:56 -07:00
2005-05-05 16:36:47 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:17 -07:00
2005-04-16 15:20:36 -07:00
2005-09-12 10:49:58 -07:00
2005-11-14 19:55:13 -08:00
2005-11-14 19:55:13 -08:00
2006-01-11 19:04:51 -08:00
2006-01-08 20:12:42 -08:00
2005-11-14 19:55:16 -08:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:04:55 -08:00
2005-08-24 12:08:54 -04:00
2006-01-11 19:04:51 -08:00
2006-01-10 08:01:34 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-12 10:50:57 -07:00
2005-09-09 13:57:33 -07:00
2006-01-11 19:01:10 -08:00
2006-01-10 08:01:28 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:40 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-12 10:50:59 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-14 19:55:13 -08:00
2006-01-06 08:33:22 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-14 19:55:16 -08:00
2005-04-16 15:20:36 -07:00
2006-01-06 08:33:39 -08:00
2005-04-16 15:20:36 -07:00
2005-11-10 16:09:18 -08:00
2005-11-20 11:52:59 -08:00
2005-10-30 17:37:13 -08:00
2006-01-11 15:50:47 -08:00
2005-04-16 15:20:36 -07:00
2005-05-17 07:59:16 -07:00
2005-04-16 15:20:36 -07:00
2005-11-14 19:55:14 -08:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:01:13 -08:00
2006-01-02 08:38:38 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-27 16:28:39 -07:00
2006-01-11 19:01:13 -08:00
2005-06-23 09:45:28 -07:00
2005-09-12 10:50:56 -07:00
2006-01-11 19:04:53 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:01:13 -08:00
2005-11-14 19:55:14 -08:00
2005-06-23 09:45:14 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-12-24 12:30:22 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:27 -08:00
2005-04-16 15:20:36 -07:00
2005-06-29 18:45:19 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:08 -07:00
2005-09-12 10:50:56 -07:00
2005-11-14 19:56:02 -08:00
2005-08-29 15:31:35 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:07 -07:00
2005-09-10 10:06:21 -07:00
2005-11-14 19:55:15 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:24:33 -07:00
2005-10-31 10:51:57 -08:00
2006-01-11 19:04:50 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:04:53 -08:00
2005-09-12 10:49:58 -07:00
2005-04-16 15:20:36 -07:00
2005-09-12 10:49:58 -07:00
2005-12-24 12:30:22 -08:00
2005-09-05 00:05:48 -07:00
2005-09-07 16:57:35 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:12:42 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-12 10:50:57 -07:00
2005-04-16 15:20:36 -07:00