From: Seth Jennings <sjenning@linux.vnet.ibm.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@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,
kamezawa.hiroyu@jp.fujitsu.com, jackdachef@gmail.com,
cyclonusj@gmail.com, levinsasha928@gmail.com
Subject: Re: [PATCH V10 3/6] mm: frontswap: core frontswap functionality
Date: Fri, 16 Sep 2011 10:12:11 -0500 [thread overview]
Message-ID: <4E73674B.6090901@linux.vnet.ibm.com> (raw)
In-Reply-To: <20110915213406.GA26369@ca-server1.us.oracle.com>
On 09/15/2011 04:34 PM, Dan Magenheimer wrote:
> From: Dan Magenheimer <dan.magenheimer@oracle.com>
> Subject: [PATCH V10 3/6] mm: frontswap: core frontswap functionality
>
> (Note to earlier reviewers: This patchset has been reorganized due to
> feedback from Kame Hiroyuki and Andrew Morton. This patch contains part
> of patch 3of4 from the previous series.)
>
> This third patch of six in the frontswap series provides the core
> frontswap code that interfaces between the hooks in the swap subsystem
> and a frontswap backend via frontswap_ops.
>
> [v10: sjenning@linux.vnet.ibm.com: fix debugfs calls on 32-bit]
...
> +#ifdef CONFIG_DEBUG_FS
> + struct dentry *root = debugfs_create_dir("frontswap", NULL);
> + if (root == NULL)
> + return -ENXIO;
> + debugfs_create_u64("gets", S_IRUGO, root, &frontswap_gets);
> + debugfs_create_u64("succ_puts", S_IRUGO, root, &frontswap_succ_puts);
> + debugfs_create_u64("puts", S_IRUGO, root, &frontswap_failed_puts);
Sorry I didn't see this one before :-/ This should be "failed_puts",
not "puts".
Other than that, it compiles cleanly here and runs without issue when
applied on 3.1-rc4 + fix for cleancache crash.
Thanks
--
Seth
WARNING: multiple messages have this Message-ID (diff)
From: Seth Jennings <sjenning@linux.vnet.ibm.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@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,
kamezawa.hiroyu@jp.fujitsu.com, jackdachef@gmail.com,
cyclonusj@gmail.com, levinsasha928@gmail.com
Subject: Re: [PATCH V10 3/6] mm: frontswap: core frontswap functionality
Date: Fri, 16 Sep 2011 10:12:11 -0500 [thread overview]
Message-ID: <4E73674B.6090901@linux.vnet.ibm.com> (raw)
In-Reply-To: <20110915213406.GA26369@ca-server1.us.oracle.com>
On 09/15/2011 04:34 PM, Dan Magenheimer wrote:
> From: Dan Magenheimer <dan.magenheimer@oracle.com>
> Subject: [PATCH V10 3/6] mm: frontswap: core frontswap functionality
>
> (Note to earlier reviewers: This patchset has been reorganized due to
> feedback from Kame Hiroyuki and Andrew Morton. This patch contains part
> of patch 3of4 from the previous series.)
>
> This third patch of six in the frontswap series provides the core
> frontswap code that interfaces between the hooks in the swap subsystem
> and a frontswap backend via frontswap_ops.
>
> [v10: sjenning@linux.vnet.ibm.com: fix debugfs calls on 32-bit]
...
> +#ifdef CONFIG_DEBUG_FS
> + struct dentry *root = debugfs_create_dir("frontswap", NULL);
> + if (root == NULL)
> + return -ENXIO;
> + debugfs_create_u64("gets", S_IRUGO, root, &frontswap_gets);
> + debugfs_create_u64("succ_puts", S_IRUGO, root, &frontswap_succ_puts);
> + debugfs_create_u64("puts", S_IRUGO, root, &frontswap_failed_puts);
Sorry I didn't see this one before :-/ This should be "failed_puts",
not "puts".
Other than that, it compiles cleanly here and runs without issue when
applied on 3.1-rc4 + fix for cleancache crash.
Thanks
--
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/ .
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-16 15:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-15 21:34 [PATCH V10 3/6] mm: frontswap: core frontswap functionality Dan Magenheimer
2011-09-15 21:34 ` Dan Magenheimer
2011-09-16 15:12 ` Seth Jennings [this message]
2011-09-16 15:12 ` Seth Jennings
2011-09-20 18:28 ` Dan Magenheimer
2011-09-20 18:28 ` Dan Magenheimer
2011-09-28 6:03 ` KAMEZAWA Hiroyuki
2011-09-28 6:03 ` KAMEZAWA Hiroyuki
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=4E73674B.6090901@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=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 \
/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 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.