linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: linux-kernel@vger.kernel.org, npiggin@suse.de, akpm@osdl.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: Re: Tmem [PATCH 4/5] (Take 3): Add mm buildfiles
Date: Thu, 17 Dec 2009 17:07:51 -0800	[thread overview]
Message-ID: <4B2AD5E7.4030000@goop.org> (raw)
In-Reply-To: <6160c200-144c-4cc0-b095-6fe27e9ee3a1@default>

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>

      reply	other threads:[~2009-12-18  1:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18  0:38 Tmem [PATCH 4/5] (Take 3): Add mm buildfiles Dan Magenheimer
2009-12-18  1:07 ` Jeremy Fitzhardinge [this message]

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=4B2AD5E7.4030000@goop.org \
    --to=jeremy@goop.org \
    --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=dan.magenheimer@oracle.com \
    --cc=dave.mccracken@oracle.com \
    --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;
as well as URLs for NNTP newsgroup(s).