Acquiring a lock on the same CPU that holds it - what can be done?

Adrian Chadd adrian at freebsd.org
Sat Jan 4 04:14:51 UTC 2014


On 3 January 2014 19:45, David Xu <listlog2011 at gmail.com> wrote:

> Does critical_enter disable interrupts ? Long time ago, I saw it does
> not. If I remembered it correctly, spinlock_enter disables interrupt,
> critical_enter still allows interrupt, but current thread can not be
> preempted, it is deferred.

Ah there we go. Yes, okay. My bad.



-a


More information about the freebsd-arch mailing list