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

Re: Ideas for adding physically contiguous memory support to mmap()??



Hi,

On Tue, Apr 10, 2001 at 07:24:12PM -0400, Benjamin C.R. LaHaise wrote:
> On Tue, 10 Apr 2001, LUTZ,TODD (HP-Boise,ex1) wrote:
> 
> > 1. Able to specify any size that is a multiple of PAGE_SIZE (not just powers
> > of 2).
> 
> First off: why do you need this functionality?  It does not sound like it
> provides any significant benefits over the current system once you take
> into consideration the effects it will have on memory fragmentation.

Indeed.  Most of the motivation for large contiguous memory areas in
user space are concerned with cache line colouring and efficient use
of tlbs.  An API for large page support and kernel support for cache
colouring would be nice, but in general the more of this that can be
done opportunistically (without any application API changes), the
better.

Cheers,
 Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/