From: "Jan Beulich" Subject: Re: [PATCH] x86/S3: Restore broken vcpu affinity on resume (v4) Date: Tue, 02 Apr 2013 08:49:50 +0100 Message-ID: <515AA9BE02000078000C9FEE@nat28.tlf.novell.com> References: <5159E467.9040603@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ben Guthro , Keir Fraser Cc: George Dunlap , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 01.04.13 at 22:17, Keir Fraser wrote: > On 01/04/2013 20:47, "Ben Guthro" wrote: > >>>> v4: >>>> Formatting: Fix if statement spacing. >>>> Eliminate unnecessary if statement in thaw_domains() >>>> Suppress affinity related logging to XENLOG_DEBUG to reduce noise. >>>> >>>> Signed-off-by: Ben Guthro >>> >>> I'm not super-familiar with the save/restore paths; but it looks like >>> a reasonable change to me: >>> >>> Acked-by: George Dunlap >>> >> >> Thanks George. >> >> Jan, >> >> Is this a sufficient Ack, or does Kier need to weigh in as well? > > Acked-by: Keir Fraser > > I kind of feel this sort of thing should be done in dom0 userspace but, > pragmatically, I know that's not really going to happen! How would that work, considering the Dom0's vCPU affinities are equally affected, and considering that all domains get thawed at once? Minimally you'd have a burst of (overcommit) load on pCPU0 right after resume, and whether the system would survive that is impossible to predict. Jan