diff options
| author | Markus Metzger <[email protected]> | 2008-11-25 07:52:56 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-11-25 16:29:02 +0000 |
| commit | de90add30e79261c3b5be68bb0f22d2ef98e8113 (patch) | |
| tree | 44c3da676ddb8e160fe1d0e9f29d2ab6a51ed475 /net/unix/af_unix.c | |
| parent | x86, pebs: fix PEBS record size configuration (diff) | |
| download | kernel-de90add30e79261c3b5be68bb0f22d2ef98e8113.tar.gz kernel-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 <[email protected]>
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Markus Metzger <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
