diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2008-11-25 08:52:56 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-25 17:29:02 +0100 |
commit | de90add30e79261c3b5be68bb0f22d2ef98e8113 (patch) | |
tree | 44c3da676ddb8e160fe1d0e9f29d2ab6a51ed475 /usr | |
parent | x86, pebs: fix PEBS record size configuration (diff) | |
download | linux-de90add30e79261c3b5be68bb0f22d2ef98e8113.tar.xz linux-de90add30e79261c3b5be68bb0f22d2ef98e8113.zip |
x86, bts: fix wrmsr and spinlock over kmalloc
Impact: fix sleeping-with-spinlock-held bugs/crashes
- Turn a wrmsr to write the DS_AREA MSR into a wrmsrl.
- Use irqsave variants of spinlocks.
- Do not allocate memory while holding spinlocks.
Reported-by: Stephane Eranian <eranian@googlemail.com>
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions