xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Bob Liu <lliubbo@gmail.com>
To: xen-devel@lists.xen.org
Cc: Bob Liu <bob.liu@oracle.com>,
	keir@xen.org, ian.campbell@citrix.com, jbeulich@suse.com
Subject: [PATCH 2/2] xen: arch: x86: re-enable tmem for system up to 16Tb
Date: Mon, 23 Sep 2013 10:23:35 +0800	[thread overview]
Message-ID: <1379903015-15955-2-git-send-email-bob.liu@oracle.com> (raw)
In-Reply-To: <1379903015-15955-1-git-send-email-bob.liu@oracle.com>

tmem can work on system up to 16Tb after my privious patch "tmem: add full
support for x86 up to 16Tb", so re-enabled it.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
---
 xen/arch/x86/setup.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index c550e8e..f73effe 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -25,7 +25,6 @@
 #include <xen/dmi.h>
 #include <xen/pfn.h>
 #include <xen/nodemask.h>
-#include <xen/tmem_xen.h> /* for opt_tmem only */
 #include <xen/watchdog.h>
 #include <public/version.h>
 #include <compat/platform.h>
@@ -1160,13 +1159,6 @@ void __init __start_xen(unsigned long mbi_p)
                 s = pfn_to_paddr(limit + 1);
             init_domheap_pages(s, e);
         }
-
-        if ( opt_tmem )
-        {
-           printk(XENLOG_WARNING
-                  "TMEM physical RAM limit exceeded, disabling TMEM\n");
-           opt_tmem = 0;
-        }
     }
 
     vm_init();
-- 
1.7.10.4

  reply	other threads:[~2013-09-23  2:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-23  2:23 [PATCH 1/2] tmem: add full support for x86 up to 16Tb Bob Liu
2013-09-23  2:23 ` Bob Liu [this message]
2013-09-23  9:36 ` Andrew Cooper
2013-09-23  9:45   ` Ian Campbell
2013-09-23 10:46 ` Jan Beulich
2013-09-23 13:17   ` Bob Liu
2013-09-23 13:28     ` Jan Beulich
2013-09-25 20:44   ` 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=1379903015-15955-2-git-send-email-bob.liu@oracle.com \
    --to=lliubbo@gmail.com \
    --cc=bob.liu@oracle.com \
    --cc=ian.campbell@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xen.org \
    /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).