From: Keshavamurthy Anil S Date: Mon, 12 Dec 2005 08:37:12 +0000 (-0800) Subject: [PATCH] kprobes: fix race in aggregate kprobe registration X-Git-Tag: v2.6.15-rc6~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adad0f331f9c693129e81e233c5461e2e7c3e443;p=pandora-kernel.git [PATCH] kprobes: fix race in aggregate kprobe registration When registering multiple kprobes at the same address, we leave a small window where the kprobe hlist will not contain a reference to the registered kprobe, leading to potentially, a system crash if the breakpoint is hit on another processor. Patch below now automically relpace the old kprobe with the new kprobe from the hash list. Signed-off-by: Anil S Keshavamurthy Acked-by: Ananth N Mavinakayanahalli Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed