[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tmem: Only enable by default for x86_64



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1262765884 0
# Node ID 4e56f809ddbf6061e0de3430a8fc74c62b00b441
# Parent  d0d2afcc05c432c921ed56b721b0c9489db38aaa
tmem: Only enable by default for x86_64

While tmem has gotten limited testing with a 32-bit Xen, it
has severe limitations due to 32-bit heap restrictions.
So, turn it off by default for 32-bit so nobody accidentally
runs into this.

Signed-off by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
---
 xen/common/tmem_xen.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r d0d2afcc05c4 -r 4e56f809ddbf xen/common/tmem_xen.c
--- a/xen/common/tmem_xen.c     Wed Jan 06 08:17:20 2010 +0000
+++ b/xen/common/tmem_xen.c     Wed Jan 06 08:18:04 2010 +0000
@@ -14,7 +14,11 @@
 
 #define EXPORT /* indicates code other modules are dependent upon */
 
+#ifdef __x86_64__
 EXPORT int opt_tmem = 1;
+#else
+EXPORT int opt_tmem = 0;
+#endif
 boolean_param("tmem", opt_tmem);
 
 EXPORT int opt_tmem_compress = 0;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.