kernel-ark/arch/x86_64/kernel
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
cpufreq
aperture.c [PATCH] x86_64: Fix off by one in IOMMU check 2006-01-11 19:04:54 -08:00
apic.c [PATCH] x86_64: Add idle notifiers 2006-01-11 19:04:55 -08:00
asm-offsets.c [PATCH] x86_64: Implement is_compat_task the right way 2006-01-11 19:04:53 -08:00
crash_dump.c
crash.c
e820.c
early_printk.c
entry.S [PATCH] x86_64: Implement is_compat_task the right way 2006-01-11 19:04:53 -08:00
genapic_cluster.c [PATCH] x86_64/i386: Remove preempt disable calls in lowlevel IPI 2006-01-11 19:01:57 -08:00
genapic_flat.c [PATCH] x86_64/i386: Remove preempt disable calls in lowlevel IPI 2006-01-11 19:01:57 -08:00
genapic.c
head64.c
head.S [PATCH] x86_64: Align and pad x86_64 GDT on page boundary 2006-01-11 19:04:53 -08:00
i387.c
i8259.c
init_task.c
io_apic.c [PATCH] x86_64: Fix off by one in IOMMU check 2006-01-11 19:04:54 -08:00
ioport.c
irq.c [PATCH] x86_64: Add idle notifiers 2006-01-11 19:04:55 -08:00
kprobes.c
ldt.c
machine_kexec.c
Makefile [PATCH] x86_64: Generalize DMI and enable for x86-64 2006-01-11 19:04:51 -08:00
mce_amd.c [PATCH] x86_64: Add idle notifiers 2006-01-11 19:04:55 -08:00
mce_intel.c [PATCH] x86_64: Add idle notifiers 2006-01-11 19:04:55 -08:00
mce.c [PATCH] x86_64: increase MCE bank counts 2006-01-11 19:01:57 -08:00
module.c
mpparse.c
nmi.c
pci-dma.c
pci-gart.c [PATCH] x86_64: Fix off by one in IOMMU check 2006-01-11 19:04:54 -08:00
pci-nommu.c
pmtimer.c
process.c [PATCH] x86_64: Add idle notifiers 2006-01-11 19:04:55 -08:00
ptrace.c
reboot.c [PATCH] i386/x86-64: Don't IPI to offline cpus on shutdown 2006-01-11 19:04:50 -08:00
relocate_kernel.S
setup64.c [PATCH] x86_64: Align and pad x86_64 GDT on page boundary 2006-01-11 19:04:53 -08:00
setup.c [PATCH] x86_64: Generalize DMI and enable for x86-64 2006-01-11 19:04:51 -08:00
signal.c
smp.c [PATCH] x86_64: Add idle notifiers 2006-01-11 19:04:55 -08:00
smpboot.c [PATCH] x86_64: Align and pad x86_64 GDT on page boundary 2006-01-11 19:04:53 -08:00
suspend_asm.S
suspend.c [PATCH] x86_64: Align and pad x86_64 GDT on page boundary 2006-01-11 19:04:53 -08:00
sys_x86_64.c
syscall.c
time.c [PATCH] x86_64: Handle missing local APIC timer interrupts on C3 state 2006-01-11 19:04:54 -08:00
trampoline.S
traps.c [PATCH] x86_64: Report hardware breakpoints in user space when triggered by the kernel 2006-01-11 19:04:54 -08:00
vmlinux.lds.S [PATCH] x86_64: Allow compilation on a 32bit biarch toolchain 2006-01-11 19:04:52 -08:00
vsyscall.c
x8664_ksyms.c