From: Robert Jennings <rcj@linux.vnet.ibm.com>
To: Bob <bob.liu@oracle.com>
Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>,
Dan Magenheimer <dan.magenheimer@oracle.com>,
minchan@kernel.org, Nitin Gupta <nitingupta910@gmail.com>,
Konrad Wilk <konrad.wilk@oracle.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Bob Liu <lliubbo@gmail.com>,
Luigi Semenzato <semenzato@google.com>,
Mel Gorman <mgorman@suse.de>
Subject: Re: zsmalloc limitations and related topics
Date: Thu, 14 Mar 2013 08:20:46 -0500 [thread overview]
Message-ID: <20130314132046.GA3172@linux.vnet.ibm.com> (raw)
In-Reply-To: <5141BC5D.9050005@oracle.com>
* Bob (bob.liu@oracle.com) wrote:
> On 03/14/2013 06:59 AM, Seth Jennings wrote:
> >On 03/13/2013 03:02 PM, Dan Magenheimer wrote:
> >>>From: Robert Jennings [mailto:rcj@linux.vnet.ibm.com]
> >>>Subject: Re: zsmalloc limitations and related topics
> >>
<snip>
> >>Yes. And add pageframe-reclaim to this list of things that
> >>zsmalloc should do but currently cannot do.
> >
> >The real question is why is pageframe-reclaim a requirement? What
> >operation needs this feature?
> >
> >AFAICT, the pageframe-reclaim requirements is derived from the
> >assumption that some external control path should be able to tell
> >zswap/zcache to evacuate a page, like the shrinker interface. But this
> >introduces a new and complex problem in designing a policy that doesn't
> >shrink the zpage pool so aggressively that it is useless.
> >
> >Unless there is another reason for this functionality I'm missing.
> >
>
> Perhaps it's needed if the user want to enable/disable the memory
> compression feature dynamically.
> Eg, use it as a module instead of recompile the kernel or even
> reboot the system.
To unload zswap all that is needed is to perform writeback on the pages
held in the cache, this can be done by extending the existing writeback
code.
--
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>
next prev parent reply other threads:[~2013-03-14 13:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-27 23:24 zsmalloc limitations and related topics Dan Magenheimer
2013-02-28 22:00 ` Dan Magenheimer
2013-03-01 1:40 ` Ric Mason
2013-03-04 18:29 ` Dan Magenheimer
2013-03-13 15:14 ` Robert Jennings
2013-03-13 15:33 ` Seth Jennings
2013-03-13 15:56 ` Seth Jennings
2013-03-13 20:02 ` Dan Magenheimer
2013-03-13 22:59 ` Seth Jennings
2013-03-14 12:02 ` Bob
2013-03-14 13:20 ` Robert Jennings [this message]
2013-03-14 18:54 ` Dan Magenheimer
2013-03-15 16:14 ` Seth Jennings
2013-03-15 16:54 ` Dan Magenheimer
2013-03-15 16:18 ` Seth Jennings
2013-03-14 17:39 ` Dan Magenheimer
2013-03-14 19:16 ` Dan Magenheimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130314132046.GA3172@linux.vnet.ibm.com \
--to=rcj@linux.vnet.ibm.com \
--cc=bob.liu@oracle.com \
--cc=dan.magenheimer@oracle.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lliubbo@gmail.com \
--cc=mgorman@suse.de \
--cc=minchan@kernel.org \
--cc=nitingupta910@gmail.com \
--cc=semenzato@google.com \
--cc=sjenning@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).