Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 1997 18:10:03 -0700
From:      David Greenman <dg@root.com>
To:        hutton@ISI.EDU
Cc:        dyson@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: vm_page_alloc_contig again 
Message-ID:  <199707150110.SAA11903@implode.root.com>
In-Reply-To: Your message of "Mon, 14 Jul 1997 17:02:03 PDT." <199707150003.AA14675@zephyr.isi.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>
>> vm_page_alloc_contig works best before the system is fully up.  It is used
>> to allocate medium sized contiguous chunks at bootup time.
>> 
>
>we use vm_page_alloc_contig in a device driver...so it is at boot time and it 
>is a small chunk - 1/2 meg.
>
>It allocates ok and the device driver works but we suspect that the pages 
>aren't (really) wired down. We see a page fault and the machine panics when we 
>are forwarding packets through the NIC from another NIC on the same host. Is 
>there a known problem with the pages not being wired down once allocated by 
>vm_page_alloc_contig at boot time?

   There aren't any known problems and several other device drivers use the
function to allocate memory without any trouble. Memory allocated to the
kernel is never reclaimed by the pagedaemon, so I suspect you've got a bug
somewhere in your code.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707150110.SAA11903>