From: Dan Magenheimer <dan.magenheimer@oracle.com>
To: linux-kernel@vger.kernel.org
Cc: dan.magenheimer@oracle.com, npiggin@suse.de, akpm@osdl.org,
jeremy@goop.org, xen-devel@lists.xensource.com,
tmem-devel@oss.oracle.com, kurt.hackel@oracle.com,
Russell <rusty@rustcorp.com.au>, Rik van Riel <riel@redhat.com>,
dave.mccracken@oracle.com, linux-mm@kvack.org,
Rusty@rcsinet15.oracle.com, sunil.mushran@oracle.com,
Avi Kivity <avi@redhat.com>, Schwidefsky <schwidefsky@de.ibm.com>,
Balbir Singh <balbir@linux.vnet.ibm.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
alan@lxorguk.ukuu.org.uk, chris.mason@oracle.com,
Pavel Machek <pavel@ucw.cz>
Subject: Tmem [PATCH 4/5] (Take 3): Add mm buildfiles
Date: Thu, 17 Dec 2009 16:38:28 -0800 (PST) [thread overview]
Message-ID: <6160c200-144c-4cc0-b095-6fe27e9ee3a1@default> (raw)
Tmem [PATCH 4/5] (Take 3): Add mm buildfiles
Add necessary Kconfig and Makefile changes to mm directory
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Kconfig | 26 +++++++++++++++++++++
Makefile | 3 ++
2 files changed, 29 insertions(+)
--- linux-2.6.32/mm/Kconfig 2009-12-02 20:51:21.000000000 -0700
+++ linux-2.6.32-tmem/mm/Kconfig 2009-12-17 13:56:46.000000000 -0700
@@ -287,3 +287,29 @@ config NOMMU_INITIAL_TRIM_EXCESS
of 1 says that all excess pages should be trimmed.
See Documentation/nommu-mmap.txt for more information.
+
+#
+# support for transcendent memory
+#
+config TMEM
+ bool "Transcendent memory support"
+ help
+ In a virtualized environment, allows unused and underutilized
+ system physical memory to be made accessible through a narrow
+ well-defined page-copy-based API.
+
+config CLEANCACHE
+ bool "Cache clean pages in transcendent memory"
+ depends on TMEM
+ help
+ Allows the transcendent memory pool to be used to store clean
+ page-cache pages which, under some circumstances, will greatly
+ reduce paging and thus improve performance.
+
+config FRONTSWAP
+ bool "Swap pages to transcendent memory"
+ depends on TMEM
+ help
+ Allows the transcendent memory pool to be used as a pseudo-swap
+ device which, under some circumstances, will greatly reduce
+ swapping and thus improve performance.
--- linux-2.6.32/mm/Makefile 2009-12-02 20:51:21.000000000 -0700
+++ linux-2.6.32-tmem/mm/Makefile 2009-12-17 14:23:40.000000000 -0700
@@ -17,6 +17,9 @@ obj-y += init-mm.o
obj-$(CONFIG_BOUNCE) += bounce.o
obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o thrash.o
+obj-$(CONFIG_TMEM) += tmem.o
+obj-$(CONFIG_FRONTSWAP) += frontswap.o
+obj-$(CONFIG_CLEANCACHE) += cleancache.o
obj-$(CONFIG_HAS_DMA) += dmapool.o
obj-$(CONFIG_HUGETLBFS) += hugetlb.o
obj-$(CONFIG_NUMA) += mempolicy.o
--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2009-12-18 0:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-18 0:38 Dan Magenheimer [this message]
2009-12-18 1:07 ` Jeremy Fitzhardinge
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=6160c200-144c-4cc0-b095-6fe27e9ee3a1@default \
--to=dan.magenheimer@oracle.com \
--cc=Rusty@rcsinet15.oracle.com \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=avi@redhat.com \
--cc=balbir@linux.vnet.ibm.com \
--cc=chris.mason@oracle.com \
--cc=dave.mccracken@oracle.com \
--cc=jeremy@goop.org \
--cc=kurt.hackel@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mtosatti@redhat.com \
--cc=npiggin@suse.de \
--cc=pavel@ucw.cz \
--cc=riel@redhat.com \
--cc=rusty@rustcorp.com.au \
--cc=schwidefsky@de.ibm.com \
--cc=sunil.mushran@oracle.com \
--cc=tmem-devel@oss.oracle.com \
--cc=xen-devel@lists.xensource.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