Subject: Re: Questions about memory allocation for device drivers.
To: None <milligan.rts@home.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-ports
Date: 08/23/2001 09:59:26
On Thu, Aug 23, 2001 at 09:13:54AM -0700, Mark Milligan wrote:

 > bus_dma functions ( ethernet etc.) to guarantee they have wired down memory.
 > 
 > Is the softc driver memory wired down? or will it page?  It seems to me it
 > should be wired down and should not page.  If they page should the autoconf
 > routine force the memory to be wired down?  This may improve the performance of 
 > device drivers.
 > 
 > Also shouldnt the ISR routines be wired down so they do not page?  My
 > understanding is that kernel code can be paged in and out.

It is wired down, and the kernel text/data/bss is also wired down.

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