From: Jiri Kosina Date: Wed, 28 Mar 2007 16:12:34 +0000 (+0200) Subject: [PATCH] oprofile: fix potential deadlock on oprofilefs_lock X-Git-Tag: v2.6.21-rc6~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dfc896e90359df04c80da5ab08ec31e87846c43;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed