From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: Cpu pools discussion Date: Thu, 30 Jul 2009 10:58:16 +0200 Message-ID: <4A7160A8.1000105@ts.fujitsu.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Tim Deegan , George Dunlap , Zhigang Wang , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > CPU hotplug raises a question in relation to cpupools, by the way. What pool > does a cpu get added to when it is brought online? And what do you do when > someone offlines a CPU (e.g., especially when it is the last in its pool)? > In that latter case, have you not considered it, or do you refuse the > offline, or do you somehow break the pool affinity so that domains belonging > to it can run elsewhere? These cases are already covered by my patch. A new cpu is always added to the "free pool". It can then be assigned to any pool. Perhaps it would be better to add it to pool 0, but that's a minor detail, I think. Offlining the last cpu of a pool with active domains is refused. Juergen -- Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 636 47950 Fujitsu Technolgy Solutions e-mail: juergen.gross@ts.fujitsu.com Otto-Hahn-Ring 6 Internet: ts.fujitsu.com D-81739 Muenchen Company details: ts.fujitsu.com/imprint.html