Skip to contentSkip to conversation

re-enable tmem by default in xen-unstable

PATCH New Dan Magenheimer 1 participant 1 message Apr 19, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 re-enable tmem by default in xen-unstable

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.

xen/common/tmem_xen.c +1 -1
diff -r 7ee8bb40200a xen/common/tmem_xen.c
@@ -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;
xen/common/tmem_xen.c +1 -1
diff -r 7ee8bb40200a xen/common/tmem_xen.c
@@ -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;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel