From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] Adjust number of domains in cpupools when destroying domain Date: Wed, 12 Nov 2014 10:18:41 -0500 Message-ID: <20141112151841.GD6017@laptop.dumpdata.com> References: <1415790602-25779-1-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Juergen Gross , Andrew Cooper , Jan Beulich , Dietmar Hahn , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, Nov 12, 2014 at 11:11:15AM +0000, George Dunlap wrote: > On Wed, Nov 12, 2014 at 11:10 AM, Juergen Gross wrote: > > Commit bac6334b51d9bcfe57ecf4a4cb5288348fcf044a (move domain to > > cpupool0 before destroying it) introduced an error in the accounting > > of cpupools regarding the number of domains. The number of domains > > is nor adjusted when a domain is moved to cpupool0 in kill_domain(). > > > > Correct this by introducing a cpupool function doing the move > > instead of open coding it by calling sched_move_domain(). > > > > Signed-off-by: Juergen Gross > > Tested-by: Dietmar Hahn > > Reviewed-by: Andrew Cooper > > Acked-by: George Dunlap Excellent! Release-Acked-by: Konrad Rzeszutek Wilk > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel