From: Seth Jennings <sjenning@linux.vnet.ibm.com> To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Dan Magenheimer <dan.magenheimer@oracle.com>, linux-kernel@vger.kernel.org, linux-mm@kvack.org, jeremy@goop.org, hughd@google.com, ngupta@vflare.org, konrad.wilk@oracle.com, JBeulich@novell.com, kurt.hackel@oracle.com, npiggin@kernel.dk, akpm@linux-foundation.org, riel@redhat.com, hannes@cmpxchg.org, matthew@wil.cx, chris.mason@oracle.com, jackdachef@gmail.com, cyclonusj@gmail.com Subject: Re: Subject: [PATCH V7 2/4] mm: frontswap: core code Date: Thu, 25 Aug 2011 08:29:49 -0500 [thread overview] Message-ID: <4E564E4D.4030302@linux.vnet.ibm.com> (raw) In-Reply-To: <20110825150532.a4d282b1.kamezawa.hiroyu@jp.fujitsu.com> On 08/25/2011 01:05 AM, KAMEZAWA Hiroyuki wrote: > On Tue, 23 Aug 2011 07:58:15 -0700 > Dan Magenheimer <dan.magenheimer@oracle.com> wrote: > >> From: Dan Magenheimer <dan.magenheimer@oracle.com> >> Subject: [PATCH V7 2/4] mm: frontswap: core code >> >> This second patch of four in this frontswap series provides the core code >> for frontswap that interfaces between the hooks in the swap subsystem and >> a frontswap backend via frontswap_ops. >> >> Two new files are added: mm/frontswap.c and include/linux/frontswap.h >> >> Credits: Frontswap_ops design derived from Jeremy Fitzhardinge >> design for tmem; sysfs code modelled after mm/ksm.c >> >> [v7: rebase to 3.0-rc3] >> [v7: JBeulich@novell.com: new static inlines resolve to no-ops if not config'd] >> [v7: JBeulich@novell.com: avoid redundant shifts/divides for *_bit lib calls] >> [v6: rebase to 3.1-rc1] >> [v6: lliubbo@gmail.com: fix null pointer deref if vzalloc fails] >> [v6: konrad.wilk@oracl.com: various checks and code clarifications/comments] >> [v5: no change from v4] >> [v4: rebase to 2.6.39] >> Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> >> Reviewed-by: Konrad Wilk <konrad.wilk@oracle.com> >> Acked-by: Jan Beulich <JBeulich@novell.com> >> Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com> >> Cc: Jeremy Fitzhardinge <jeremy@goop.org> >> Cc: Hugh Dickins <hughd@google.com> >> Cc: Johannes Weiner <hannes@cmpxchg.org> >> Cc: Nitin Gupta <ngupta@vflare.org> >> Cc: Matthew Wilcox <matthew@wil.cx> >> Cc: Chris Mason <chris.mason@oracle.com> >> Cc: Rik Riel <riel@redhat.com> >> Cc: Andrew Morton <akpm@linux-foundation.org> >> <cut> > > > I'm sorry if I miss codes but.... is an implementation of frontswap.ops included > in this patch set ? Or how to test the work ? The zcache driver (in drivers/staging/zcache) is the one that registers frontswap ops. You can test frontswap by enabling CONFIG_FRONTSWAP and CONFIG_ZCACHE, and putting "zcache" in the kernel boot parameters. > > 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>
WARNING: multiple messages have this Message-ID (diff)
From: Seth Jennings <sjenning@linux.vnet.ibm.com> To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Dan Magenheimer <dan.magenheimer@oracle.com>, linux-kernel@vger.kernel.org, linux-mm@kvack.org, jeremy@goop.org, hughd@google.com, ngupta@vflare.org, konrad.wilk@oracle.com, JBeulich@novell.com, kurt.hackel@oracle.com, npiggin@kernel.dk, akpm@linux-foundation.org, riel@redhat.com, hannes@cmpxchg.org, matthew@wil.cx, chris.mason@oracle.com, jackdachef@gmail.com, cyclonusj@gmail.com Subject: Re: Subject: [PATCH V7 2/4] mm: frontswap: core code Date: Thu, 25 Aug 2011 08:29:49 -0500 [thread overview] Message-ID: <4E564E4D.4030302@linux.vnet.ibm.com> (raw) In-Reply-To: <20110825150532.a4d282b1.kamezawa.hiroyu@jp.fujitsu.com> On 08/25/2011 01:05 AM, KAMEZAWA Hiroyuki wrote: > On Tue, 23 Aug 2011 07:58:15 -0700 > Dan Magenheimer <dan.magenheimer@oracle.com> wrote: > >> From: Dan Magenheimer <dan.magenheimer@oracle.com> >> Subject: [PATCH V7 2/4] mm: frontswap: core code >> >> This second patch of four in this frontswap series provides the core code >> for frontswap that interfaces between the hooks in the swap subsystem and >> a frontswap backend via frontswap_ops. >> >> Two new files are added: mm/frontswap.c and include/linux/frontswap.h >> >> Credits: Frontswap_ops design derived from Jeremy Fitzhardinge >> design for tmem; sysfs code modelled after mm/ksm.c >> >> [v7: rebase to 3.0-rc3] >> [v7: JBeulich@novell.com: new static inlines resolve to no-ops if not config'd] >> [v7: JBeulich@novell.com: avoid redundant shifts/divides for *_bit lib calls] >> [v6: rebase to 3.1-rc1] >> [v6: lliubbo@gmail.com: fix null pointer deref if vzalloc fails] >> [v6: konrad.wilk@oracl.com: various checks and code clarifications/comments] >> [v5: no change from v4] >> [v4: rebase to 2.6.39] >> Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> >> Reviewed-by: Konrad Wilk <konrad.wilk@oracle.com> >> Acked-by: Jan Beulich <JBeulich@novell.com> >> Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com> >> Cc: Jeremy Fitzhardinge <jeremy@goop.org> >> Cc: Hugh Dickins <hughd@google.com> >> Cc: Johannes Weiner <hannes@cmpxchg.org> >> Cc: Nitin Gupta <ngupta@vflare.org> >> Cc: Matthew Wilcox <matthew@wil.cx> >> Cc: Chris Mason <chris.mason@oracle.com> >> Cc: Rik Riel <riel@redhat.com> >> Cc: Andrew Morton <akpm@linux-foundation.org> >> <cut> > > > I'm sorry if I miss codes but.... is an implementation of frontswap.ops included > in this patch set ? Or how to test the work ? The zcache driver (in drivers/staging/zcache) is the one that registers frontswap ops. You can test frontswap by enabling CONFIG_FRONTSWAP and CONFIG_ZCACHE, and putting "zcache" in the kernel boot parameters. > > 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> -- 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-08-25 13:29 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-23 14:58 Subject: [PATCH V7 2/4] mm: frontswap: core code Dan Magenheimer 2011-08-23 14:58 ` Dan Magenheimer 2011-08-25 6:05 ` KAMEZAWA Hiroyuki 2011-08-25 6:05 ` KAMEZAWA Hiroyuki 2011-08-25 13:29 ` Seth Jennings [this message] 2011-08-25 13:29 ` Seth Jennings 2011-08-25 17:52 ` Dan Magenheimer 2011-08-25 17:52 ` Dan Magenheimer 2011-08-25 17:37 ` Dan Magenheimer 2011-08-25 17:37 ` Dan Magenheimer 2011-08-26 0:16 ` KAMEZAWA Hiroyuki 2011-08-26 0:16 ` KAMEZAWA Hiroyuki 2011-08-26 14:28 ` Dan Magenheimer 2011-08-26 14:28 ` Dan Magenheimer 2011-08-29 15:47 ` Dan Magenheimer 2011-08-29 15:47 ` Dan Magenheimer 2011-08-26 14:53 ` Dan Magenheimer 2011-08-26 14:53 ` 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=4E564E4D.4030302@linux.vnet.ibm.com \ --to=sjenning@linux.vnet.ibm.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=kamezawa.hiroyu@jp.fujitsu.com \ --cc=konrad.wilk@oracle.com \ --cc=kurt.hackel@oracle.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 \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.