linux-stable-rt/include
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
..
acpi
asm-alpha
asm-arm
asm-arm26
asm-cris
asm-frv
asm-generic Fix mutex_trylock() copy-and-paste bug (x86, x86-64, generic mutex-dec.h) 2006-01-11 15:50:47 -08:00
asm-h8300 [PATCH] include/asm-h8300/page.h: remove unused KTHREAD_SIZE #define 2006-01-11 18:42:09 -08:00
asm-i386 [PATCH] i386: Handle missing local APIC timer interrupts on C3 state 2006-01-11 19:04:54 -08:00
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu [PATCH] m68knommu: save reg a5 on context change 2006-01-10 09:31:27 -08:00
asm-mips
asm-parisc [PARISC] Use C99 initializers in asm-parisc/processor.h 2006-01-10 21:52:45 -05:00
asm-powerpc Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge 2006-01-11 08:16:57 -08:00
asm-ppc
asm-s390
asm-sh
asm-sh64 [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
asm-sparc
asm-sparc64
asm-um
asm-v850
asm-x86_64 [PATCH] x86_64: Add idle notifiers 2006-01-11 19:04:55 -08:00
asm-xtensa
keys
linux [PATCH] x86_64: Handle unknown node (-1) in alloc_pages_node 2006-01-11 19:04:51 -08:00
math-emu
media
mtd
net [INET]: congestion and af_ops can be const 2006-01-10 12:54:26 -08:00
pcmcia
rdma
rxrpc
scsi
sound [PATCH] DocBook: fix kernel-doc comments 2006-01-10 08:01:53 -08:00
video