From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
jeremy@goop.org, hughd@google.com, ngupta@vflare.org,
Konrad Wilk <konrad.wilk@oracle.com>,
JBeulich@novell.com, Kurt Hackel <kurt.hackel@oracle.com>,
npiggin@kernel.dk, akpm@linux-foundation.org, riel@redhat.com,
hannes@cmpxchg.org, matthew@wil.cx,
Chris Mason <chris.mason@oracle.com>,
sjenning@linux.vnet.ibm.com, jackdachef@gmail.com,
cyclonusj@gmail.com, levinsasha928@gmail.com
Subject: Re: [PATCH V10 0/6] mm: frontswap: overview (and proposal to merge at next window)
Date: Thu, 29 Sep 2011 13:48:16 +0900 [thread overview]
Message-ID: <20110929134816.7f29bf46.kamezawa.hiroyu@jp.fujitsu.com> (raw)
In-Reply-To: <22173398-de03-43ef-abe4-a3f3231dd2e9@default>
On Wed, 28 Sep 2011 07:09:18 -0700 (PDT)
Dan Magenheimer <dan.magenheimer@oracle.com> wrote:
> > From: KAMEZAWA Hiroyuki [mailto:kamezawa.hiroyu@jp.fujitsu.com]
> > Sent: Wednesday, September 28, 2011 12:16 AM
> > To: Dan Magenheimer
> > Cc: linux-kernel@vger.kernel.org; linux-mm@kvack.org; jeremy@goop.org; hughd@google.com;
> > ngupta@vflare.org; Konrad Wilk; JBeulich@novell.com; Kurt Hackel; npiggin@kernel.dk; akpm@linux-
> > foundation.org; riel@redhat.com; hannes@cmpxchg.org; matthew@wil.cx; Chris Mason;
> > sjenning@linux.vnet.ibm.com; jackdachef@gmail.com; cyclonusj@gmail.com; levinsasha928@gmail.com
> > Subject: Re: [PATCH V10 0/6] mm: frontswap: overview (and proposal to merge at next window)
> >
> > On Thu, 15 Sep 2011 14:33:05 -0700
> > Dan Magenheimer <dan.magenheimer@oracle.com> wrote:
> >
> > > [PATCH V10 0/6] mm: frontswap: overview (and proposal to merge at next window)
> > >
> > > (Note: V9->V10 only change is corrections in debugfs-related code/counters)
> > >
> > > (Note to earlier reviewers: This patchset was reorganized at V9 due
> > > to feedback from Kame Hiroyuki and Andrew Morton. Additionally, feedback
> > > on frontswap v8 from Andrew Morton also applies to cleancache, to wit:
> > > (1) change usage of sysfs to debugfs to avoid unnecessary kernel ABIs
> > > (2) rename all uses of "flush" to "invalidate"
> > > As a result, additional patches (5of6 and 6of6) were added to this
> > > series at V9 to patch cleancache core code and cleancache hooks in the mm
> > > and fs subsystems and update cleancache documentation accordingly.)
> >
> > I'm sorry I couldn't catch following... what happens at hibernation ?
> > frontswap is effectively stopped/skipped automatically ? or contents of
> > TMEM can be kept after power off and it can be read correctly when
> > resume thread reads swap ?
> >
> > In short: no influence to hibernation ?
> > I'm sorry if I misunderstand some.
>
> Hi Kame --
>
> Hibernation would need to be handled by the tmem backend (e.g. zcache, Xen
> tmem). In the case of Xen tmem, both save/restore and live migration are
> fully supported. I'm not sure if zcache works across hibernation; since
> all memory is kmalloc'ed, I think it should work fine, but it would be an
> interesting experiment.
>
I'm afraid that users will lose data on memory of frontswap/zcache/tmem
by power-off, hibernation. How about adding internal hooks to disable/sync
frontswap itself before hibernation ? difficult ?
Thanks,
-Kame
--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2011-09-29 4:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-15 21:33 Dan Magenheimer
2011-09-28 6:15 ` KAMEZAWA Hiroyuki
2011-09-28 14:09 ` Dan Magenheimer
2011-09-29 4:48 ` KAMEZAWA Hiroyuki [this message]
2011-09-29 14:00 ` 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=20110929134816.7f29bf46.kamezawa.hiroyu@jp.fujitsu.com \
--to=kamezawa.hiroyu@jp.fujitsu.com \
--cc=JBeulich@novell.com \
--cc=akpm@linux-foundation.org \
--cc=chris.mason@oracle.com \
--cc=cyclonusj@gmail.com \
--cc=dan.magenheimer@oracle.com \
--cc=hannes@cmpxchg.org \
--cc=hughd@google.com \
--cc=jackdachef@gmail.com \
--cc=jeremy@goop.org \
--cc=konrad.wilk@oracle.com \
--cc=kurt.hackel@oracle.com \
--cc=levinsasha928@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=matthew@wil.cx \
--cc=ngupta@vflare.org \
--cc=npiggin@kernel.dk \
--cc=riel@redhat.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