From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 23 Aug 2002 09:31:40 +0200 From: Ingo Oeser Subject: Re: RAMFS and Swapping Message-ID: <20020823093140.A634@nightmaster.csn.tu-chemnitz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from linux1@cdotd.ernet.in on Wed, Aug 21, 2002 at 10:39:26PM +0500 Sender: owner-linux-mm@kvack.org Return-Path: To: Atm account Cc: linux-mm@kvack.org List-ID: On Wed, Aug 21, 2002 at 10:39:26PM +0500, Atm account wrote: > I have a simple doubt regarding use Of RAMFS.In which cases should i > use ramfs/shmfs/tmpfs? > > If i create a RAMFS on "RAM" and run binaries from RAMFS > created.Would the pages would be swapped to swap device or not.Whether > the physical pages allocated to the RAMFS would be part of page cache or > not. Pages in ramfs are not swappable. Pages in tmpfs/shmfs are in RAM by default and are swapped out if memory gets thight. Regards Ingo Oeser -- Science is what we can tell a computer. Art is everything else. --- D.E.Knuth -- 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-mm.org/