android_kernel_xiaomi_sm8350/arch/i386/kernel
Stephane Eranian 2ff2d3d747 [PATCH] i386: add idle notifier
Add a notifier mechanism to the low level idle loop.  You can register a
callback function which gets invoked on entry and exit from the low level idle
loop.  The low level idle loop is defined as the polling loop, low-power call,
or the mwait instruction.  Interrupts processed by the idle thread are not
considered part of the low level loop.

The notifier can be used to measure precisely how much is spent in useless
execution (or low power mode).  The perfmon subsystem uses it to turn on/off
monitoring.

Signed-off-by: stephane eranian <eranian@hpl.hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andi Kleen <ak@suse.de>
2007-02-13 13:26:22 +01:00
..
acpi ACPICA: Allow ACPI id to be u32 instead of u8. 2007-02-02 21:14:31 -05:00
cpu [PATCH] i386: add idle notifier 2007-02-13 13:26:22 +01:00
.gitignore
alternative.c [PATCH] paravirt: Patch inline replacements for paravirt intercepts 2006-12-07 02:14:08 +01:00
apic.c [PATCH] i386: add idle notifier 2007-02-13 13:26:22 +01:00
apm.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
asm-offsets.c [PATCH] i386: Convert i386 PDA code to use %fs 2007-02-13 13:26:20 +01:00
bootflag.c
cpuid.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
crash_dump.c
crash.c [PATCH] Kexec / Kdump: Unify elf note code 2006-12-07 08:39:46 -08:00
doublefault.c
e820.c [PATCH] i386: arch/i386/kernel/e820.c should #include <asm/setup.h 2007-02-13 13:26:21 +01:00
early_printk.c
efi_stub.S
efi.c [PATCH] EFI x86: pass firmware call parameters on the stack 2007-02-04 10:27:10 -08:00
entry.S [PATCH] i386: vMI timer patches 2007-02-13 13:26:21 +01:00
head.S [PATCH] i386: move startup_32() in text.head section 2007-02-13 13:26:22 +01:00
hpet.c [PATCH] hpet: trivial __iomem annotations 2007-02-09 09:14:07 -08:00
i386_ksyms.c
i387.c
i8237.c
i8253.c
i8259.c [PATCH] paravirt: header and stubs for paravirtualisation 2006-12-07 02:14:07 +01:00
init_task.c
io_apic.c [PATCH] i386: vMI backend for paravirt-ops 2007-02-13 13:26:21 +01:00
ioport.c
irq.c [PATCH] i386: add idle notifier 2007-02-13 13:26:22 +01:00
kprobes.c [PATCH] i386: Kprobe rpl fix 2007-02-13 13:26:21 +01:00
ldt.c [PATCH] i386: remove default_ldt, and simplify ldt-setting. 2006-12-07 02:14:01 +01:00
machine_kexec.c
Makefile [PATCH] i386: vMI timer patches 2007-02-13 13:26:21 +01:00
mca.c [PATCH] i386: replace kmalloc+memset with kzalloc 2006-12-07 02:14:19 +01:00
microcode.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
module.c [PATCH] Generic BUG for i386 2006-12-08 08:28:39 -08:00
mpparse.c ACPICA: use new ACPI headers. 2007-02-02 21:14:28 -05:00
msr.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
nmi.c [PATCH] Revert nmi_known_cpu() check during boot option parsing 2007-01-23 07:52:05 -08:00
numaq.c
paravirt.c [PATCH] i386: vMI timer patches 2007-02-13 13:26:21 +01:00
pci-dma.c [PATCH] i386: replace kmalloc+memset with kzalloc 2006-12-07 02:14:19 +01:00
process.c [PATCH] i386: add idle notifier 2007-02-13 13:26:22 +01:00
ptrace.c [PATCH] i386: Convert i386 PDA code to use %fs 2007-02-13 13:26:20 +01:00
quirks.c [PATCH] x86: Fix verify_quirk_intel_irqbalance() 2006-12-09 21:33:35 +01:00
reboot_fixups.c
reboot.c [PATCH] arch/i386/kernel/reboot.c should #include <linux/reboot.h> 2006-12-07 08:39:44 -08:00
relocate_kernel.S
scx200.c
setup.c [PATCH] i386: vMI backend for paravirt-ops 2007-02-13 13:26:21 +01:00
sigframe.h
signal.c [PATCH] i386: Convert i386 PDA code to use %fs 2007-02-13 13:26:20 +01:00
smp.c [PATCH] i386: add idle notifier 2007-02-13 13:26:22 +01:00
smpboot.c [PATCH] i386: vMI timer patches 2007-02-13 13:26:21 +01:00
srat.c ACPI: build fix for IBM x440 - CONFIG_X86_SUMMIT 2007-02-02 21:47:33 -05:00
summit.c
sys_i386.c
syscall_table.S
sysenter.c [PATCH] i386 vDSO: use install_special_mapping 2007-02-09 09:25:47 -08:00
time_hpet.c [PATCH] i386: Add iounmap in error paths in hpet code 2006-12-07 02:14:02 +01:00
time.c [PATCH] i386: Profile pc badness 2007-02-13 13:26:21 +01:00
topology.c [PATCH] i386: change the 'no_control' field to 'hotpluggable' in the struct cpu 2006-12-07 02:14:10 +01:00
trampoline.S [PATCH] i386: fix modpost warning in SMP trampoline code 2007-01-05 23:55:23 -08:00
traps.c [PATCH] i386: Convert i386 PDA code to use %fs 2007-02-13 13:26:20 +01:00
tsc.c [PATCH] i386: vMI timer patches 2007-02-13 13:26:21 +01:00
vm86.c [PATCH] i386: Convert i386 PDA code to use %fs 2007-02-13 13:26:20 +01:00
vmi.c [PATCH] i386: vMI timer patches 2007-02-13 13:26:21 +01:00
vmitime.c [PATCH] i386: Vmi timer race 2007-02-13 13:26:21 +01:00
vmlinux.lds.S [PATCH] i386: move startup_32() in text.head section 2007-02-13 13:26:22 +01:00
vsyscall-int80.S
vsyscall-note.S
vsyscall-sigreturn.S
vsyscall-sysenter.S
vsyscall.lds.S
vsyscall.S