* Tmem [PATCH 4/5] (Take 3): Add mm buildfiles
@ 2009-12-18 0:38 Dan Magenheimer
2009-12-18 1:07 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 2+ messages in thread
From: Dan Magenheimer @ 2009-12-18 0:38 UTC (permalink / raw)
To: linux-kernel
Cc: dan.magenheimer, npiggin, akpm, jeremy, xen-devel, tmem-devel,
kurt.hackel, Russell, Rik van Riel, dave.mccracken, linux-mm,
Rusty, sunil.mushran, Avi Kivity, Schwidefsky, Balbir Singh,
Marcelo Tosatti, alan, chris.mason, Pavel Machek
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Tmem [PATCH 4/5] (Take 3): Add mm buildfiles
2009-12-18 0:38 Tmem [PATCH 4/5] (Take 3): Add mm buildfiles Dan Magenheimer
@ 2009-12-18 1:07 ` Jeremy Fitzhardinge
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2009-12-18 1:07 UTC (permalink / raw)
To: Dan Magenheimer
Cc: linux-kernel, npiggin, akpm, xen-devel, tmem-devel, kurt.hackel,
Russell, Rik van Riel, dave.mccracken, linux-mm, Rusty,
sunil.mushran, Avi Kivity, Schwidefsky, Balbir Singh,
Marcelo Tosatti, alan, chris.mason, Pavel Machek
On 12/17/2009 04:38 PM, Dan Magenheimer wrote:
> Tmem [PATCH 4/5] (Take 3): Add mm buildfiles
>
> Add necessary Kconfig and Makefile changes to mm directory
>
These should be part of their respective tmem-core/frontswap/cleancache
patches.
J
> 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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-18 1:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18 0:38 Tmem [PATCH 4/5] (Take 3): Add mm buildfiles Dan Magenheimer
2009-12-18 1:07 ` Jeremy Fitzhardinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).