commit | 4dfc896e90359df04c80da5ab08ec31e87846c43 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Wed Mar 28 18:12:34 2007 +0200 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Mar 28 13:58:02 2007 -0700 |
tree | 1d68ae9c2e07c87f7cbc2f4b5c10d98a6c60a874 | |
parent | 6faee84b006af55bab9908741dd76916c8450be2 [diff] |
[PATCH] oprofile: fix potential deadlock on oprofilefs_lock nmi_cpu_setup() is called from hardirq context and acquires oprofilefs_lock. alloc_event_buffer() and oprofilefs_ulong_from_user() acquire this lock without disabling irqs, which could deadlock. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>