Thread (34 messages) 34 messages, 8 authors, 2012-11-02

Re: [RFC] mm: add support for zsmalloc and zcache

From: Seth Jennings <hidden>
Date: 2012-09-21 19:02:30
Also in: lkml

On 09/21/2012 01:02 PM, Konrad Rzeszutek Wilk wrote:
On Fri, Sep 21, 2012 at 05:12:52PM +0100, Mel Gorman wrote:
quoted
On Tue, Sep 04, 2012 at 04:34:46PM -0500, Seth Jennings wrote:
quoted
zcache is the remaining piece of code required to support in-kernel
memory compression.  The other two features, cleancache and frontswap,
have been promoted to mainline in 3.0 and 3.5 respectively.  This
patchset promotes zcache from the staging tree to mainline.
This is a very rough review of the code simply because I was asked to
look at it. I'm barely aware of the history and I'm not a user of this
code myself so take all of this with a grain of salt.
Ah fresh set of eyes! Yeey!
Agreed! Thanks so much!
quoted
Very broadly speaking my initial reaction before I reviewed anything was
that *some* sort of usable backend for cleancache or frontswap should exist
at this point. My understanding is that Xen is the primary user of both
those frontends and ramster, while interesting, is not something that a
typical user will benefit from.
Right, the majority of users do not use virtualization. Thought embedded
wise .. well, there are a lot of Android users - thought I am not 100%
sure they are using it right now (I recall seeing changelogs for the clones
of Android mentioning zcache).
quoted
That said, I worry that this has bounced around a lot and as Dan (the
original author) has a rewrite. I'm wary of spending too much time on this
at all. Is Dan's new code going to replace this or what? It'd be nice to
find a definitive answer on that.
The idea is to take parts of zcache2 as seperate patches and stick it
in the code you just reviewed (those that make sense as part of unstaging).
I agree with this.  Only the changes from zcache2 (Dan's
rewrite) that are necessary for promotion should be
considered right now.  Afaict, none of the concerns raised
in these comments are addressed by the changes in zcache2.
The end result will be that zcache1 == zcache2 in functionality. Right
now we are assembling a list of TODOs for zcache that should be done as part
of 'unstaging'.
quoted
Anyway, here goes
.. and your responses will fill the TODO with many extra line-items.
Great, thanks Konrad.
Its going to take a bit of time to mull over your questions, so it will
take me some time.
Same here. I'll respond asap. Thanks again, Mel!

--
Seth

--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help