On Thu, 2005-04-28 at 12:18 -0400, Ananth N Mavinakayanahalli wrote: > Well, kprobes uses spin_lock_irqsave/irqrestore() during reg/unreg and > spin_lock/unlock() during probe processing; and spin_lock() and friends > implicitly disable/enable preemption. OK. I was confused because preempt_count() returns 0 in kprobes. Martin