From: Linus Torvalds Date: Thu, 3 Nov 2011 14:44:04 +0000 (-0700) Subject: Revert "perf: Add PM notifiers to fix CPU hotplug races" X-Git-Tag: v3.2-rc1~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4536e4d1d21c8172402a2217b0fa1880665ace36;p=pandora-kernel.git Revert "perf: Add PM notifiers to fix CPU hotplug races" This reverts commit 144060fee07e9c22e179d00819c83c86fbcbf82c. It causes a resume regression for Andi on his Acer Aspire 1830T post 3.1. The screen just stays black after wakeup. Also, it really looks like the wrong way to suspend and resume perf events: I think they should be done as part of the CPU suspend and resume, rather than as a notifier that does smp_call_function(). Reported-by: Andi Kleen Acked-by: Ingo Molnar Cc: Peter Zijlstra Cc: Rafael J. Wysocki Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed