From: Masami Hiramatsu Date: Mon, 25 Oct 2010 13:18:01 +0000 (+0900) Subject: kprobes: Remove redundant text_mutex lock in optimize X-Git-Tag: v2.6.37-rc1~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43948f50276eca010a22726860dfe9a4e8130136;p=pandora-kernel.git kprobes: Remove redundant text_mutex lock in optimize Remove text_mutex locking in optimize_all_kprobes, because this function doesn't modify text. It simply queues probes on optimization list for kprobe_optimizer worker thread. Signed-off-by: Masami Hiramatsu Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Cc: David S. Miller Cc: Namhyung Kim Cc: Jason Baron Cc: Peter Zijlstra LKML-Reference: <20101025131801.19160.70939.stgit@ltc236.sdl.hitachi.co.jp> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed