This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: Tmem [PATCH 4/5] (Take 3): Add mm buildfiles

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: [Xen-devel] Re: Tmem [PATCH 4/5] (Take 3): Add mm buildfiles
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 17 Dec 2009 17:07:51 -0800
Cc: npiggin@xxxxxxx, akpm@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, tmem-devel@xxxxxxxxxxxxxx, kurt.hackel@xxxxxxxxxx, Pavel Machek <pavel@xxxxxx>, Russell <rusty@xxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, dave.mccracken@xxxxxxxxxx, linux-mm@xxxxxxxxx, chris.mason@xxxxxxxxxx, sunil.mushran@xxxxxxxxxx, Avi Kivity <avi@xxxxxxxxxx>, Rusty@xxxxxxxxxxxxxxxxxxxx, Schwidefsky <schwidefsky@xxxxxxxxxx>, Marcelo Tosatti <mtosatti@xxxxxxxxxx>, alan@xxxxxxxxxxxxxxxxxxx, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 21 Dec 2009 08:43:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6160c200-144c-4cc0-b095-6fe27e9ee3a1@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <6160c200-144c-4cc0-b095-6fe27e9ee3a1@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091203 Fedora/3.0-3.13.rc2.fc12 Thunderbird/3.0
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.


Signed-off-by: Dan Magenheimer<dan.magenheimer@xxxxxxxxxx>

  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.
+       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.
+       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

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>