From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 10 Apr 2001 19:24:12 -0400 (EDT) From: "Benjamin C.R. LaHaise" Subject: Re: Ideas for adding physically contiguous memory support to mmap()?? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: "LUTZ,TODD (HP-Boise,ex1)" Cc: "'linux-mm@kvack.org'" List-ID: On Tue, 10 Apr 2001, LUTZ,TODD (HP-Boise,ex1) wrote: > I would like to be able to extend mmap() (in 2.4.2) to support returning > physically contiguous memory as shared memory. > Here are some requirements: > 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. Devices that require large chunks of memory are rare and specialised: reasonable hardware provides support for scatter gather lists (they aren't difficult to implement in hardware). -ben -- 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/