From: Jamie Lokier Subject: Re: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview Date: Wed, 2 Jun 2010 14:00:14 +0100 Message-ID: <20100602130014.GB7238@shareable.org> References: <20100528173510.GA12166@ca-server1.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: chris.mason@oracle.com, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, adilger@sun.com, tytso@mit.edu, mfasheh@suse.com, joel.becker@oracle.com, matthew@wil.cx, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, ocfs2-devel@oss.oracle.com, linux-mm@kvack.org, ngupta@vflare.org, jeremy@goop.org, JBeulich@novell.com, kurt.hackel@oracle.com, npiggin@suse.de, dave.mccracken@oracle.com, riel@redhat.com, avi@redhat.com, konrad.wilk@oracle.com To: Dan Magenheimer Return-path: Received: from mail2.shareable.org ([80.68.89.115]:39138 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752933Ab0FBNAk (ORCPT ); Wed, 2 Jun 2010 09:00:40 -0400 Content-Disposition: inline In-Reply-To: <20100528173510.GA12166@ca-server1.us.oracle.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: Dan Magenheimer wrote: > Most important, cleancache is "ephemeral". Pages which are copied into > cleancache have an indefinite lifetime which is completely unknowable > by the kernel and so may or may not still be in cleancache at any later time. > Thus, as its name implies, cleancache is not suitable for dirty pages. The > pseudo-RAM has complete discretion over what pages to preserve and what > pages to discard and when. Fwiw, the feature sounds useful to userspace too, for those things with memory hungry caches like web browsers. Any plans to make it available to userspace? Thanks, -- Jamie