[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.