From: "Jan Beulich" Subject: Re: [PATCH v3 03/13] xen: introduce cpumask_from_bitmap Date: Thu, 25 Apr 2013 16:18:52 +0100 Message-ID: <5179657C02000078000D0D5F@nat28.tlf.novell.com> References: <1366900958.20256.556.camel@zakaz.uk.xensource.com> <1366901072.20256.557.camel@zakaz.uk.xensource.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: Ian Campbell , Stefano Stabellini Cc: Julien Grall , "Tim (Xen.org)" , Keir Fraser , "Keir(Xen.org)" , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 25.04.13 at 17:08, Stefano Stabellini wrote: > On Thu, 25 Apr 2013, Ian Campbell wrote: >> On Thu, 2013-04-25 at 15:42 +0100, Ian Campbell wrote: >> > And it really wants to act on sets of real physical cpus (hence cpumask_t)? >> >> Actually, vcpus. Perhaps cpumask_t is the wrong datatype then? > > It seems to me that cpumask_t is a pretty good fit for a vcpu mask. No, not the least because there's no correlation between the numbers of bits in the two (i.e. you could easily have more vCPU-s in a domain than there are pCPU-s in the system). Jan