WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xm-test: Adapt memory setting to up-to-da

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xm-test: Adapt memory setting to up-to-date kernel memory consumption
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 06 Aug 2009 05:35:14 -0700
Delivery-date: Thu, 06 Aug 2009 05:35:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1249475846 -3600
# Node ID e6a18d33879dbd1ebc9089143a09e422cacf3633
# Parent  1136d7b74c26a745dfb86f0b61ba7a05d8b47ef8
xm-test: Adapt memory setting to up-to-date kernel memory consumption

The attached patch fixes xm-test memset 04 that it can be used with up
to date kernels.  The old version sets the memory to 15MByte which is
too low for modern kernels: the oom-killer in this case kills the
login shell of the test-case and init.  Increased the size to 18M
which gives the userspace about 2.5 MByte memory.

Signed-off-by: Andreas Florath <xen@xxxxxxxxxxxx>
---
 tools/xm-test/tests/memset/04_memset_smallmem_pos.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 1136d7b74c26 -r e6a18d33879d 
tools/xm-test/tests/memset/04_memset_smallmem_pos.py
--- a/tools/xm-test/tests/memset/04_memset_smallmem_pos.py      Wed Aug 05 
13:36:24 2009 +0100
+++ b/tools/xm-test/tests/memset/04_memset_smallmem_pos.py      Wed Aug 05 
13:37:26 2009 +0100
@@ -25,7 +25,7 @@ except ConsoleError, e:
     FAIL(str(e))
 
 status, output = traceCommand("xm mem-set %s %i" %
-                              (domain.getName(), 15))
+                              (domain.getName(), 18))
 
 if status != 0:
     FAIL("xm mem-set %s %i returned invalid %i != 0" %

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xm-test: Adapt memory setting to up-to-date kernel memory consumption, Xen patchbot-unstable <=