]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS Kprobes: Deny probes on ll/sc instructions
authorManeesh Soni <manesoni@cisco.com>
Tue, 8 Nov 2011 11:35:35 +0000 (17:05 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2011 22:04:03 +0000 (22:04 +0000)
commit126caf4a35fdd0af26a88a222c2e917e8a9ee61a
tree9c653068e63cda169569796ce721af418670db5d
parent06a200aab257fe5d28a45306bab7401dbd79b5f9
MIPS Kprobes: Deny probes on ll/sc instructions

As ll/sc instruction are for atomic read-modify-write operations, allowing
probes on top of these insturctions is a bad idea.

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Maneesh Soni <manesoni@cisco.com>
Cc: David Daney <david.daney@cavium.com>
Cc: ananth@in.ibm.com
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2912/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/kprobes.c