]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Revert "perf: Add PM notifiers to fix CPU hotplug races"
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Nov 2011 14:44:04 +0000 (07:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Nov 2011 14:44:04 +0000 (07:44 -0700)
commit4536e4d1d21c8172402a2217b0fa1880665ace36
tree0bcf19fda146cb4afbdd6487218fb6ac16b80fcd
parent43672a0784707d795556b1f93925da8b8e797d03
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 <andi@firstfloor.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/events/core.c