The patch titled Subject: drivers/idle/intel_idle.c: remove redundant local_irq_disable() call has been added to the -mm tree. Its filename is drivers-idle-intel_idlec-remove-redundant-local_irq_disable-call.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Yanmin Zhang <yanmin_zhang@xxxxxxxxxxxxxxx> Subject: drivers/idle/intel_idle.c: remove redundant local_irq_disable() call irq disabling happens earlier in process_32.c:cpu_idle. Basically, cpuidle_state->enter is called, cpu irq is disabled. cpuidle_state->enter would turn on irq when exiting. intel_idle doesn't follow this assumption. Although it doesn't cause real issue, it misleads developers. Remove the call to local_irq_disable() at entry. Signed-off-by: mzha38X <mingmingx.zhang@xxxxxxxxx> Cc: "Li, Shaohua" <shaohua.li@xxxxxxxxx> Cc: "Brown, Len" <len.brown@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/idle/intel_idle.c | 2 -- 1 file changed, 2 deletions(-) diff -puN drivers/idle/intel_idle.c~drivers-idle-intel_idlec-remove-redundant-local_irq_disable-call drivers/idle/intel_idle.c --- a/drivers/idle/intel_idle.c~drivers-idle-intel_idlec-remove-redundant-local_irq_disable-call +++ a/drivers/idle/intel_idle.c @@ -247,8 +247,6 @@ static int intel_idle(struct cpuidle_dev cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) + 1; - local_irq_disable(); - /* * leave_mm() to avoid costly and often unnecessary wakeups * for flushing the user TLB's associated with the active mm. _ Subject: Subject: drivers/idle/intel_idle.c: remove redundant local_irq_disable() call Patches currently in -mm which might be from yanmin_zhang@xxxxxxxxxxxxxxx are linux-next.patch drivers-idle-intel_idlec-remove-redundant-local_irq_disable-call.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