The patch titled x86_64 add missing enter_idle() calls has been removed from the -mm tree. Its filename is x86_64-add-missing-enter_idle-calls.patch This patch was dropped because it is obsolete ------------------------------------------------------ Subject: x86_64 add missing enter_idle() calls From: Stephane Eranian <eranian@xxxxxxxxxx> Unless I am mistaken, I think we are missing some calls to enter_idle() in the x86_64 tree. The following patch adds a bunch of missing enter_idle() callbacks for some of the "direct" interrupt handlers. Add missing enter_idle() calls to most of the "direct" interrupt handlers. Signed-off-by: stephane eranian <eranian@xxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/x86_64/kernel/apic.c | 2 ++ arch/x86_64/kernel/irq.c | 1 + arch/x86_64/kernel/mce_amd.c | 1 + arch/x86_64/kernel/mce_intel.c | 1 + arch/x86_64/kernel/smp.c | 1 + 5 files changed, 6 insertions(+) diff -puN arch/x86_64/kernel/apic.c~x86_64-add-missing-enter_idle-calls arch/x86_64/kernel/apic.c --- a/arch/x86_64/kernel/apic.c~x86_64-add-missing-enter_idle-calls +++ a/arch/x86_64/kernel/apic.c @@ -1096,6 +1096,7 @@ asmlinkage void smp_spurious_interrupt(v } #endif irq_exit(); + enter_idle(); } /* @@ -1128,6 +1129,7 @@ asmlinkage void smp_error_interrupt(void printk (KERN_DEBUG "APIC error on CPU%d: %02x(%02x)\n", smp_processor_id(), v , v1); irq_exit(); + enter_idle(); } int disable_apic; diff -puN arch/x86_64/kernel/irq.c~x86_64-add-missing-enter_idle-calls arch/x86_64/kernel/irq.c --- a/arch/x86_64/kernel/irq.c~x86_64-add-missing-enter_idle-calls +++ a/arch/x86_64/kernel/irq.c @@ -127,6 +127,7 @@ asmlinkage unsigned int do_IRQ(struct pt irq_exit(); set_irq_regs(old_regs); + enter_idle(); return 1; } diff -puN arch/x86_64/kernel/mce_amd.c~x86_64-add-missing-enter_idle-calls arch/x86_64/kernel/mce_amd.c --- a/arch/x86_64/kernel/mce_amd.c~x86_64-add-missing-enter_idle-calls +++ a/arch/x86_64/kernel/mce_amd.c @@ -224,6 +224,7 @@ asmlinkage void mce_threshold_interrupt( } out: irq_exit(); + enter_idle(); } /* diff -puN arch/x86_64/kernel/mce_intel.c~x86_64-add-missing-enter_idle-calls arch/x86_64/kernel/mce_intel.c --- a/arch/x86_64/kernel/mce_intel.c~x86_64-add-missing-enter_idle-calls +++ a/arch/x86_64/kernel/mce_intel.c @@ -27,6 +27,7 @@ asmlinkage void smp_thermal_interrupt(vo mce_log_therm_throt_event(smp_processor_id(), msr_val); irq_exit(); + enter_idle(); } static void __cpuinit intel_init_thermal(struct cpuinfo_x86 *c) diff -puN arch/x86_64/kernel/smp.c~x86_64-add-missing-enter_idle-calls arch/x86_64/kernel/smp.c --- a/arch/x86_64/kernel/smp.c~x86_64-add-missing-enter_idle-calls +++ a/arch/x86_64/kernel/smp.c @@ -520,5 +520,6 @@ asmlinkage void smp_call_function_interr mb(); atomic_inc(&call_data->finished); } + enter_idle(); } _ Patches currently in -mm which might be from eranian@xxxxxxxxxx are rename-net_random-to-random32.patch remove-carta_random32.patch x86_64-add-missing-enter_idle-calls.patch x86_64-rename-x86_feature_dtes-to-x86_feature_ds.patch add-x86_feature_pebs-and-detection.patch i386-rename-x86_feature_dtes-to-x86_feature_ds.patch i386-add-x86_feature_pebs-and-detection.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html