From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753517Ab1HYN37 (ORCPT ); Thu, 25 Aug 2011 09:29:59 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:50389 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407Ab1HYN36 (ORCPT ); Thu, 25 Aug 2011 09:29:58 -0400 Message-ID: <4E564E4D.4030302@linux.vnet.ibm.com> Date: Thu, 25 Aug 2011 08:29:49 -0500 From: Seth Jennings User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: KAMEZAWA Hiroyuki CC: Dan Magenheimer , 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 References: <20110823145815.GA23190@ca-server1.us.oracle.com> <20110825150532.a4d282b1.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20110825150532.a4d282b1.kamezawa.hiroyu@jp.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/25/2011 01:05 AM, KAMEZAWA Hiroyuki wrote: > On Tue, 23 Aug 2011 07:58:15 -0700 > Dan Magenheimer wrote: > >> From: Dan Magenheimer >> 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 >> Reviewed-by: Konrad Wilk >> Acked-by: Jan Beulich >> Acked-by: Seth Jennings >> Cc: Jeremy Fitzhardinge >> Cc: Hugh Dickins >> Cc: Johannes Weiner >> Cc: Nitin Gupta >> Cc: Matthew Wilcox >> Cc: Chris Mason >> Cc: Rik Riel >> Cc: Andrew Morton >> > > > 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: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with ESMTP id B4CD36B0169 for ; Thu, 25 Aug 2011 09:30:07 -0400 (EDT) Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e6.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p7PD5rK9022345 for ; Thu, 25 Aug 2011 09:05:53 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p7PDTsFr366836 for ; Thu, 25 Aug 2011 09:30:00 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p7PDTqll029402 for ; Thu, 25 Aug 2011 09:29:53 -0400 Message-ID: <4E564E4D.4030302@linux.vnet.ibm.com> Date: Thu, 25 Aug 2011 08:29:49 -0500 From: Seth Jennings MIME-Version: 1.0 Subject: Re: Subject: [PATCH V7 2/4] mm: frontswap: core code References: <20110823145815.GA23190@ca-server1.us.oracle.com> <20110825150532.a4d282b1.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20110825150532.a4d282b1.kamezawa.hiroyu@jp.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: KAMEZAWA Hiroyuki Cc: Dan Magenheimer , 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 On 08/25/2011 01:05 AM, KAMEZAWA Hiroyuki wrote: > On Tue, 23 Aug 2011 07:58:15 -0700 > Dan Magenheimer wrote: > >> From: Dan Magenheimer >> 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 >> Reviewed-by: Konrad Wilk >> Acked-by: Jan Beulich >> Acked-by: Seth Jennings >> Cc: Jeremy Fitzhardinge >> Cc: Hugh Dickins >> Cc: Johannes Weiner >> Cc: Nitin Gupta >> Cc: Matthew Wilcox >> Cc: Chris Mason >> Cc: Rik Riel >> Cc: Andrew Morton >> > > > 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: email@kvack.org -- 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: email@kvack.org