summaryrefslogtreecommitdiffstats
path: root/include/asm-um/spinlock.h
diff options
context:
space:
mode:
authorAnil S Keshavamurthy <anil.s.keshavamurthy@intel.com>2006-01-10 05:52:43 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 17:01:40 +0100
commit49a2a1b83ba6fa40c41968d6a28ba16e7ed0c3f7 (patch)
treef257b535d0f09f9ac2531d40feb732349993665c /include/asm-um/spinlock.h
parent[PATCH] kprobes: cleanup include/asm/kprobes.h (diff)
downloadlinux-49a2a1b83ba6fa40c41968d6a28ba16e7ed0c3f7.tar.xz
linux-49a2a1b83ba6fa40c41968d6a28ba16e7ed0c3f7.zip
[PATCH] kprobes: changed from using spinlock to mutex
Since Kprobes runtime exception handlers is now lock free as this code path is now using RCU to walk through the list, there is no need for the register/unregister{_kprobe} to use spin_{lock/unlock}_isr{save/restore}. The serialization during registration/unregistration is now possible using just a mutex. In the above process, this patch also fixes a minor memory leak for x86_64 and powerpc. Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-um/spinlock.h')
0 files changed, 0 insertions, 0 deletions