From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 12 Jun 2008 13:29:52 -0400 From: Rik van Riel Subject: Re: [PATCH -mm 14/24] Ramfs and Ram Disk pages are unevictable Message-ID: <20080612132952.568226f6@cuia.bos.redhat.com> In-Reply-To: <200806121054.19253.nickpiggin@yahoo.com.au> References: <20080611184214.605110868@redhat.com> <20080611184339.693975681@redhat.com> <200806121054.19253.nickpiggin@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: linux-kernel@vger.kernel.org, Andrew Morton , Lee Schermerhorn , Kosaki Motohiro , linux-mm@kvack.org, Eric Whitney List-ID: On Thu, 12 Jun 2008 10:54:18 +1000 Nick Piggin wrote: > On Thursday 12 June 2008 04:42, Rik van Riel wrote: > > From: Lee Schermerhorn > > > > Christoph Lameter pointed out that ram disk pages also clutter the > > LRU lists. When vmscan finds them dirty and tries to clean them, > > the ram disk writeback function just redirties the page so that it > > goes back onto the active list. Round and round she goes... > This isn't the case for brd any longer. It doesn't use the buffer > cache as its backing store, so the buffer cache is reclaimable. What does that mean? I know that pages of files that got paged into the page cache from the ramdisk can be evicted (back to the ram disk), but how do the brd pages themselves behave? -- All Rights Reversed -- 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/ . Don't email: email@kvack.org