]> xenbits.xensource.com Git - xen.git/commitdiff
tmem: (re-)enable by default
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 19 Apr 2010 16:20:43 +0000 (17:20 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 19 Apr 2010 16:20:43 +0000 (17:20 +0100)
Late in the 4.0 release it was discovered that certain order>0
allocations could fail and had no fallback.  This conflicted with
tmem especially when combined with aggressive ballooning.
A hack-y workaround patch was added in time for 4.0 that has
reduced (but not completely eliminated) the problem but
tmem was left disabled-by-default for the 4.0 release.

Re-enable it in xen-unstable by default to help identify cases
where the workaround is insufficient.   Tmem can be
disabled with the no-tmem Xen boot option.  Please report
failures (that are fixed with the no-tmem option) to me.

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
xen/common/tmem_xen.c

index 0da1b4754d51a91ec7967766043d53672bfd8917..ccfd98cc56cc85a50b2b95b2e3f253457638d8b5 100644 (file)
@@ -14,7 +14,7 @@
 
 #define EXPORT /* indicates code other modules are dependent upon */
 
-EXPORT int opt_tmem = 0;
+EXPORT int opt_tmem = 1;
 boolean_param("tmem", opt_tmem);
 
 EXPORT int opt_tmem_compress = 0;