Subject: Re: splx() optimization [was Re: SMP re-eetrancy in "bottom half" drivers]
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 06/09/2005 07:44:27
On Jun 8, 2005, at 10:03 PM, Bill Studenmund wrote:
> What I don't get is that when we're in the kernel, we grab the
> kernel_lock, and when we're in an interrupt handler, we grab the
> kernel_lock. How do we keep the two of those from deadlocking?
kernel_lock is acquired in a recursive manner from interrupt handlers.
-- thorpej