From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: [RFC] VM: I have a dream... Date: Fri, 03 Feb 2006 14:46:05 +0000 Message-ID: <1138977966.2765.1.camel@localhost> References: <200601311856.17569.a1426z@gawab.com> <1138893090.9861.25.camel@localhost.localdomain> <200602022159.04508.a1426z@gawab.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Kyle Moffett , Bryan Henderson , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: To: Al Boldi In-Reply-To: <200602022159.04508.a1426z@gawab.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Iau, 2006-02-02 at 21:59 +0300, Al Boldi wrote: > So w/ 1GB RAM, no swap, and 1TB disk mmap'd, could this mmap'd space be added > to the total memory available to the OS, as is done w/ swap? Yes in theory. It would be harder to manage. > And if that's possible, why not replace swap w/ mmap'd disk-space? Swap is just somewhere to stick data that isnt file backed, you could build a swapless mmap based OS but it wouldn't be quite the same as Unix/Linux are.