From: Dan Magenheimer Subject: [PATCH] re-enable tmem by default in xen-unstable Date: Mon, 19 Apr 2010 07:43:21 -0700 (PDT) Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="__127168821856515155abhmt013" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --__127168821856515155abhmt013 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 -r 7ee8bb40200a xen/common/tmem_xen.c --- a/xen/common/tmem_xen.c=09Thu Apr 15 19:11:16 2010 +0100 +++ b/xen/common/tmem_xen.c=09Mon Apr 19 08:30:11 2010 -0600 @@ -14,7 +14,7 @@ =20 #define EXPORT /* indicates code other modules are dependent upon */ =20 -EXPORT int opt_tmem =3D 0; +EXPORT int opt_tmem =3D 1; boolean_param("tmem", opt_tmem); =20 EXPORT int opt_tmem_compress =3D 0; --__127168821856515155abhmt013 Content-Type: application/octet-stream; name="tmem-enable.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="tmem-enable.patch" ZGlmZiAtciA3ZWU4YmI0MDIwMGEgeGVuL2NvbW1vbi90bWVtX3hlbi5jCi0tLSBhL3hlbi9jb21t b24vdG1lbV94ZW4uYwlUaHUgQXByIDE1IDE5OjExOjE2IDIwMTAgKzAxMDAKKysrIGIveGVuL2Nv bW1vbi90bWVtX3hlbi5jCU1vbiBBcHIgMTkgMDg6MzA6MTEgMjAxMCAtMDYwMApAQCAtMTQsNyAr MTQsNyBAQAogCiAjZGVmaW5lIEVYUE9SVCAvKiBpbmRpY2F0ZXMgY29kZSBvdGhlciBtb2R1bGVz IGFyZSBkZXBlbmRlbnQgdXBvbiAqLwogCi1FWFBPUlQgaW50IG9wdF90bWVtID0gMDsKK0VYUE9S VCBpbnQgb3B0X3RtZW0gPSAxOwogYm9vbGVhbl9wYXJhbSgidG1lbSIsIG9wdF90bWVtKTsKIAog RVhQT1JUIGludCBvcHRfdG1lbV9jb21wcmVzcyA9IDA7Cg== --__127168821856515155abhmt013 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --__127168821856515155abhmt013--