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

[Xen-devel] [PATCH] tmem should default off for 32-bit Xen



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>

diff -r 4feec90815a0 xen/common/tmem_xen.c
--- a/xen/common/tmem_xen.c     Tue Jan 05 08:40:18 2010 +0000
+++ b/xen/common/tmem_xen.c     Tue Jan 05 09:07:39 2010 -0700
@@ -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;

Attachment: tmem-32off.patch
Description: Binary data

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

 


Rackspace

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