From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.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,
JBeulich@novell.com, kurt.hackel@oracle.com, npiggin@suse.de,
akpm@linux-foundation.org, riel@redhat.com, hannes@cmpxchg.org,
matthew@wil.cx, chris.mason@oracle.com
Subject: Re: [PATCH V4 4/4] mm: frontswap: config and doc files
Date: Tue, 7 Jun 2011 14:03:28 -0400 [thread overview]
Message-ID: <20110607180328.GC32207@dumpdata.com> (raw)
In-Reply-To: <20110527194925.GA27229@ca-server1.us.oracle.com>
On Fri, May 27, 2011 at 12:49:25PM -0700, Dan Magenheimer wrote:
> [PATCH V4 4/4] mm: frontswap: config and doc files
>
> Add configuration and documentation files.
>
> Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
>
> Diffstat:
> Documentation/ABI/testing/sysfs-kernel-mm-frontswap | 16
> Documentation/vm/frontswap.txt | 210 ++++++++++
> mm/Kconfig | 16
> mm/Makefile | 1
> 4 files changed, 243 insertions(+)
>
> --- linux-2.6.39/mm/Makefile 2011-05-18 22:06:34.000000000 -0600
> +++ linux-2.6.39-frontswap/mm/Makefile 2011-05-26 15:37:25.262292918 -0600
> @@ -25,6 +25,7 @@ obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.
>
> obj-$(CONFIG_BOUNCE) += bounce.o
> obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o thrash.o
> +obj-$(CONFIG_FRONTSWAP) += frontswap.o
> obj-$(CONFIG_HAS_DMA) += dmapool.o
> obj-$(CONFIG_HUGETLBFS) += hugetlb.o
> obj-$(CONFIG_NUMA) += mempolicy.o
> --- linux-2.6.39/mm/Kconfig 2011-05-18 22:06:34.000000000 -0600
> +++ linux-2.6.39-frontswap/mm/Kconfig 2011-05-26 15:39:26.294884780 -0600
> @@ -347,3 +347,19 @@ config NEED_PER_CPU_KM
> depends on !SMP
> bool
> default y
> +
> +config FRONTSWAP
> + bool "Enable frontswap pseudo-RAM driver to cache swap pages"
> + default y
default n
> + help
> + Frontswap is so named because it can be thought of as the opposite of
> + a "backing" store for a swap device. The storage is assumed to be
> + a synchronous concurrency-safe page-oriented pseudo-RAM device (such
> + as Xen's Transcendent Memory, aka "tmem") which is not directly
> + accessible or addressable by the kernel and is of unknown (and
> + possibly time-varying) size. When a pseudo-RAM device is available,
> + a signficant swap I/O reduction may be achieved. When none is
> + available, all frontswap calls are reduced to a single pointer-
> + compare-against-NULL resulting in a negligible performance hit.
> +
> + If unsure, say Y to enable frontswap.
> --- linux-2.6.39/Documentation/ABI/testing/sysfs-kernel-mm-frontswap 1969-12-31 17:00:00.000000000 -0700
> +++ linux-2.6.39-frontswap/Documentation/ABI/testing/sysfs-kernel-mm-frontswap 2011-05-26 15:37:25.135819879 -0600
> @@ -0,0 +1,16 @@
> +What: /sys/kernel/mm/frontswap/
> +Date: June 2010
Not 2011?
WARNING: multiple messages have this Message-ID (diff)
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.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,
JBeulich@novell.com, kurt.hackel@oracle.com, npiggin@suse.de,
akpm@linux-foundation.org, riel@redhat.com, hannes@cmpxchg.org,
matthew@wil.cx, chris.mason@oracle.com
Subject: Re: [PATCH V4 4/4] mm: frontswap: config and doc files
Date: Tue, 7 Jun 2011 14:03:28 -0400 [thread overview]
Message-ID: <20110607180328.GC32207@dumpdata.com> (raw)
In-Reply-To: <20110527194925.GA27229@ca-server1.us.oracle.com>
On Fri, May 27, 2011 at 12:49:25PM -0700, Dan Magenheimer wrote:
> [PATCH V4 4/4] mm: frontswap: config and doc files
>
> Add configuration and documentation files.
>
> Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
>
> Diffstat:
> Documentation/ABI/testing/sysfs-kernel-mm-frontswap | 16
> Documentation/vm/frontswap.txt | 210 ++++++++++
> mm/Kconfig | 16
> mm/Makefile | 1
> 4 files changed, 243 insertions(+)
>
> --- linux-2.6.39/mm/Makefile 2011-05-18 22:06:34.000000000 -0600
> +++ linux-2.6.39-frontswap/mm/Makefile 2011-05-26 15:37:25.262292918 -0600
> @@ -25,6 +25,7 @@ obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.
>
> obj-$(CONFIG_BOUNCE) += bounce.o
> obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o thrash.o
> +obj-$(CONFIG_FRONTSWAP) += frontswap.o
> obj-$(CONFIG_HAS_DMA) += dmapool.o
> obj-$(CONFIG_HUGETLBFS) += hugetlb.o
> obj-$(CONFIG_NUMA) += mempolicy.o
> --- linux-2.6.39/mm/Kconfig 2011-05-18 22:06:34.000000000 -0600
> +++ linux-2.6.39-frontswap/mm/Kconfig 2011-05-26 15:39:26.294884780 -0600
> @@ -347,3 +347,19 @@ config NEED_PER_CPU_KM
> depends on !SMP
> bool
> default y
> +
> +config FRONTSWAP
> + bool "Enable frontswap pseudo-RAM driver to cache swap pages"
> + default y
default n
> + help
> + Frontswap is so named because it can be thought of as the opposite of
> + a "backing" store for a swap device. The storage is assumed to be
> + a synchronous concurrency-safe page-oriented pseudo-RAM device (such
> + as Xen's Transcendent Memory, aka "tmem") which is not directly
> + accessible or addressable by the kernel and is of unknown (and
> + possibly time-varying) size. When a pseudo-RAM device is available,
> + a signficant swap I/O reduction may be achieved. When none is
> + available, all frontswap calls are reduced to a single pointer-
> + compare-against-NULL resulting in a negligible performance hit.
> +
> + If unsure, say Y to enable frontswap.
> --- linux-2.6.39/Documentation/ABI/testing/sysfs-kernel-mm-frontswap 1969-12-31 17:00:00.000000000 -0700
> +++ linux-2.6.39-frontswap/Documentation/ABI/testing/sysfs-kernel-mm-frontswap 2011-05-26 15:37:25.135819879 -0600
> @@ -0,0 +1,16 @@
> +What: /sys/kernel/mm/frontswap/
> +Date: June 2010
Not 2011?
--
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-06-07 18:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 19:49 [PATCH V4 4/4] mm: frontswap: config and doc files Dan Magenheimer
2011-05-27 19:49 ` Dan Magenheimer
2011-06-07 18:03 ` Konrad Rzeszutek Wilk [this message]
2011-06-07 18:03 ` Konrad Rzeszutek Wilk
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=20110607180328.GC32207@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=JBeulich@novell.com \
--cc=akpm@linux-foundation.org \
--cc=chris.mason@oracle.com \
--cc=dan.magenheimer@oracle.com \
--cc=hannes@cmpxchg.org \
--cc=hughd@google.com \
--cc=jeremy@goop.org \
--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@suse.de \
--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.