[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <43348bbd-649d-47db-8edd-c5cb08187f19@default>
Date: Tue, 24 Aug 2010 13:42:55 -0700 (PDT)
From: Dan Magenheimer <dan.magenheimer@...cle.com>
To: balbir@...ux.vnet.ibm.com
Cc: Christoph Hellwig <hch@...radead.org>,
Boaz Harrosh <bharrosh@...asas.com>, ngupta@...are.org,
akpm@...ux-foundation.org, Chris Mason <chris.mason@...cle.com>,
viro@...iv.linux.org.uk,
Andreas Dilger <andreas.dilger@...cle.com>, tytso@....edu,
mfasheh@...e.com, Joel Becker <joel.becker@...cle.com>,
matthew@....cx, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-ext4@...r.kernel.org, ocfs2-devel@....oracle.com,
linux-mm@...ck.org, jeremy@...p.org, JBeulich@...ell.com,
Kurt Hackel <kurt.hackel@...cle.com>,
Dave Mccracken <dave.mccracken@...cle.com>, riel@...hat.com,
Konrad Wilk <konrad.wilk@...cle.com>,
Mel Gorman <mel@....ul.ie>, Ying Han <yinghan@...gle.com>,
Greg Thelen <gthelen@...gle.com>, npiggin@...nel.dk
Subject: RE: cleancache followup from LSF10/MM summit
Hi Balbir --
Thanks for reviewing!
> 1. Can't this be done at the MM layer - why the filesystem hooks? Is
> it to enable faster block devices in the reclaim hierarchy?
This is explained in FAQ #2 in: http://lkml.org/lkml/2010/6/21/411
If I misunderstood your question or the FAQ doesn't answer it, please
let me know.
> 2. I don't see a mention of slabcache in your approach, reclaim free
> pages or freeing potentially free slab pages.
Cleancache works on clean mapped pages that are reclaimed ("evicted")
due to (guest) memory pressure but later would result in a refault.
The decision of what pages to reclaim are left entirely to the
(guest) kernel, and the "backend" (zcache or Xen tmem) dynamically
decides how many clean evicted pages to retain based on dynamic
factors that are unknowable to the (guest) kernel (such as compression
ratios for zcache and available fallow memory for Xen tmem).
I'm not sure I see how this could apply to slabcache (and
I couldn't find anything in your OLS paper that refers to it),
but if you have some ideas, let's discuss (offlist?).
Thanks,
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists