Subject: Re: wd.c patch to reduce kernel stack usage
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 06/27/2002 15:46:02
On Thu, Jun 27, 2002 at 11:48:26PM +0200, Manuel Bouyer wrote:

 > This looks OK, although I'm not sure calling malloc here (from interrupt
 > context) is really better.

malloc() is safe for interrupt context use, so long as the interrupt
is blocked by splvm() (which IPL_BIO interrupts are).

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>