From: Masami Hiramatsu Date: Tue, 30 Jun 2009 21:08:09 +0000 (-0400) Subject: kprobes: No need to unlock kprobe_insn_mutex X-Git-Tag: v2.6.31-rc3~35^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a2bb6fcc80e6330ca2f2393e98605052cc7780b;p=pandora-kernel.git kprobes: No need to unlock kprobe_insn_mutex Remove needless kprobe_insn_mutex unlocking during safety check in garbage collection, because if someone releases a dirty slot during safety check (which ensures other cpus doesn't execute all dirty slots), the safety check must be fail. So, we need to hold the mutex while checking safety. Signed-off-by: Masami Hiramatsu Cc: Ananth N Mavinakayanahalli Cc: Jim Keniston Cc: Ananth N Mavinakayanahalli LKML-Reference: <20090630210809.17851.28781.stgit@localhost.localdomain> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed