]> 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)
commitb580f8a3b2e536e1c146f4f71825ea4d2f319a7f
tree9c653068e63cda169569796ce721af418670db5d
parentcf44f38356356b7ac90fc0b51647fe06952e14fc
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