Dan Magenheimer
2010-Jan-05 16:13 UTC
[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@oracle.com> 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; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel