From: Keir Fraser Date: Mon, 19 Apr 2010 16:20:43 +0000 (+0100) Subject: tmem: (re-)enable by default X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12339 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b30a2c542669d37e0f33f959cdb49a1384fe52c4;p=xen.git tmem: (re-)enable by default 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 --- diff --git a/xen/common/tmem_xen.c b/xen/common/tmem_xen.c index 0da1b4754d..ccfd98cc56 100644 --- a/xen/common/tmem_xen.c +++ b/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;