From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [Patch] Call sched_destroy_domain before cpupool_rm_domain. Date: Mon, 4 Nov 2013 15:10:15 +0000 Message-ID: <5277B8D7.5000504@eu.citrix.com> References: <1383534234-3933-1-git-send-email-nate.studer@dornerworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1383534234-3933-1-git-send-email-nate.studer@dornerworks.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Nathan Studer , xen-devel@lists.xen.org Cc: Juergen Gross , Keir Fraser List-Id: xen-devel@lists.xenproject.org On 04/11/13 03:03, Nathan Studer wrote: > From: Nathan Studer > > The domain destruction code, removes a domain from its cpupool > before attempting to destroy its scheduler information. Since > the scheduler framework uses the domain's cpupool information > to decide on which scheduler ops to use, this results in the > the wrong scheduler's destroy domain function being called > when the cpupool scheduler and the initial scheduler are > different. > > Correct this by destroying the domain's scheduling information > before removing it from the pool. > > Signed-off-by: Nathan Studer Reviewed-by: George Dunlap Thanks! -George