The patch titled acpi cpufreq cleanup: Move bailing out of function before locking the mutex has been added to the -mm tree. Its filename is acpi-cpufreq-cleanup-move-bailing-out-of-function-before-locking-the-mutex.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 *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: acpi cpufreq cleanup: Move bailing out of function before locking the mutex From: Thomas Renninger <trenn@xxxxxxx> Signed-off-by: Thomas Renninger <trenn@xxxxxxx> Cc: Andi Kleen <andi@xxxxxxxxxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Cc: Dave Jones <davej@xxxxxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/acpi/processor_perflib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/acpi/processor_perflib.c~acpi-cpufreq-cleanup-move-bailing-out-of-function-before-locking-the-mutex drivers/acpi/processor_perflib.c --- a/drivers/acpi/processor_perflib.c~acpi-cpufreq-cleanup-move-bailing-out-of-function-before-locking-the-mutex +++ a/drivers/acpi/processor_perflib.c @@ -95,10 +95,10 @@ static int acpi_processor_ppc_notifier(s if (ignore_ppc) return 0; - mutex_lock(&performance_mutex); - if (event != CPUFREQ_INCOMPATIBLE) - goto out; + return 0; + + mutex_lock(&performance_mutex); pr = per_cpu(processors, policy->cpu); if (!pr || !pr->performance) _ Patches currently in -mm which might be from trenn@xxxxxxx are linux-next.patch cpufreq-acpi-only-call-_ppc-after-cpufreq-acpi-init-funcs-got-called-already.patch acpi-cpufreq-cleanup-move-bailing-out-of-function-before-locking-the-mutex.patch move-memory_read_from_buffer-from-fsh-to-stringh.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