Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 1997 18:45:04 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        hutton@ISI.EDU
Cc:        hackers@FreeBSD.ORG
Subject:   Re: vm_page_alloc_contig again
Message-ID:  <199707142345.SAA00363@dyson.iquest.net>
In-Reply-To: <199707142301.AA11182@zephyr.isi.edu> from Anne Hutton at "Jul 14, 97 04:00:04 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> Hi,
> 
> I was hoping for a response from someone on the core team about the 
> functionality of vm_page_alloc_contig...does it do what it is supposed to do 
> in version 3.0? 
> 
vm_page_alloc_contig works best before the system is fully up.  It is used
to allocate medium sized contiguous chunks at bootup time.

>
> One of the last emails I see on it in the hackers archive suggest it doesn't 
> work as intended - see the included email. The comments in cvsweb on vm 
> revisions also seem unclear as to the status of vm_page_contig_alloc. 
> 
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.

I don't/can't keep up with all questions...  What exactly are you trying
to do?

John
dyson@freebsd.org (Core)





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