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-devel

[Xen-devel] [PATCH] Check for memory allocation failure on switching sch

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Check for memory allocation failure on switching schedulers
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Mon, 31 Jan 2011 08:10:39 +0100
Delivery-date: Sun, 30 Jan 2011 23:12:29 -0800
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1296457899; x=1327993899; h=mime-version:subject:message-id:date:from:to; z=MIME-Version:=201.0|Subject:=20[PATCH]=20Check=20for=20m emory=20allocation=20failure=20on=20switching=20scheduler s|Message-Id:=20<76e1f7018b01c1a155c1.1296457839@nehalem1 >|Date:=20Mon,=2031=20Jan=202011=2008:10:39=20+0100|From: =20Juergen=20Gross=20<juergen.gross@xxxxxxxxxxxxxx>|To: =20xen-devel@xxxxxxxxxxxxxxxxxxx; bh=F8PVowFFIWrntJVL/Q0kuS0t1l3NZklZR8psDX26eYo=; b=sTOi1PDx8AE0Qq8UmyV09R+uEu4dG5aQY0XaLwn6YxPB5CRu6xvG51v4 EnoGg1UwTgMPDhYGHiFnNquygFp0YecSZYvIs5cq+QUu5qeT1/Td6iwK8 3LTY63TEI9DXCni1ZazLVunJHUcJpFY5u9ASOXAULZNsJuOvHNbPctPoc HCBIN3f0BKLLNonzHFb0MsXisBt25jM8UtS0LZZt/C3HLUgLG8MfwWpUj 8F/ecobo1u/1fJ4v9uIwiiwWRAWnR;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Content-Type:MIME-Version:Subject: X-Mercurial-Node:Message-Id:Date:From:To; b=hCiQ4NM203qRxC6A+/DpoAafZWaqHj5BoIiv1sdeGoYdC/S4nKKpjCka ZjaZHOn1/9iF6s3RgyoSisM9r0X9wDljsGjyvJ8YeX0Qnh6/8H8+3/Bxy i8bgLGWzK4gFvpAD2ZqdMBQhvAYfkvyx526wDLyivoNtI4SoKPGxoQTSm 0r2eg+cV3eQXFkofW6yIT0r/9AxQuv0Yl1ZkRfwgnrvSLdorAqSrIT8dR geRWQ7eQsf+ggULxjMipIsQSxUDWg;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
When switching schedulers on a physical cpu due to a cpupool operation check
for a potential memory allocation failure and stop the operation gracefully.

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


3 files changed, 31 insertions(+), 5 deletions(-)
xen/common/cpupool.c    |   21 +++++++++++++++++++--
xen/common/schedule.c   |   13 +++++++++++--
xen/include/xen/sched.h |    2 +-


Attachment: xen-unstable.hg.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Check for memory allocation failure on switching schedulers, Juergen Gross <=