Messages in this thread | | | Date | Fri, 15 Mar 2013 10:01:50 -0700 | Subject | Re: [PATCH] perf,x86: fix kernel crash with PEBS/BTS after suspend/resume | From | Linus Torvalds <> |
| |
On Fri, Mar 15, 2013 at 6:26 AM, Stephane Eranian <eranian@google.com> wrote: > > This patch fixes a kernel crash when using precise sampling (PEBS) > after a suspend/resume.
Yup, works. Applied.
Can we please get rid of the crazy CPU notifier crap from the perf code, and do this like we do most other wrmsr's etc? Doing
git grep "case CPU_" arch/x86/kernel/cpu
shows that the perf layer seems to be full of this kind of BS. This is all CPU state, it should be initialized by the regular CPU initialization code, not hooked up with some random callbacks.
Linus
| |