Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Questions about memory allocation for device drivers.



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@localhost>



Home | Main Index | Thread Index | Old Index