Date: Mon, 14 Jul 97 17:02:03 PDT From: Anne Hutton <hutton@ISI.EDU> To: dyson@FreeBSD.ORG Cc: hackers@FreeBSD.ORG Subject: Re: vm_page_alloc_contig again Message-ID: <199707150003.AA14675@zephyr.isi.edu> In-Reply-To: Your message of Mon, 14 Jul 1997 18:45:04 -0500. <199707142345.SAA00363@dyson.iquest.net>
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? Anne > We don't have a very reliable method for allocating large amounts of > contiguous memory in the kernel. If you don't need contiguous memory, > then there are other ways to allocate virtually contiguous memory. The > simplest is kernel malloc. The memory will be virtually contiguous, > but will not likely be physically contiguous. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707150003.AA14675>