Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 19 Feb 2002 17:34:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 19 Feb 2002 17:34:23 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:33811 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Tue, 19 Feb 2002 17:34:20 -0500 Date: Tue, 19 Feb 2002 19:34:06 -0300 (BRT) From: Rik van Riel X-X-Sender: To: Mihail Ionescu Cc: Subject: Re: mmap for more than 2GB In-Reply-To: Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Feb 2002, Mihail Ionescu wrote: > I am currently working on the porting of some programs from Solaris to > Linux. The main problem I have is that the original programs heavily use > mmap in order to access very big files (more than 4GB) (since it is a > 64 bits operating system), but on Linux mmap will fail. Is there any clean > way to solve this problem? You could use a machine with 64 bits of address space. Linux on Intel hardware cannot mmap() more than about 2 GB per process since the hardware doesn't support more. regards, Rik -- "Linux holds advantages over the single-vendor commercial OS" -- Microsoft's "Competing with Linux" document http://www.surriel.com/ http://distro.conectiva.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/