From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 0/5] adjust usage of certain cpumask_*() operations Date: Fri, 23 Aug 2013 09:43:06 +0100 Message-ID: References: <5217309002000078000EDE7D@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VCmxm-0002MQ-IV for xen-devel@lists.xenproject.org; Fri, 23 Aug 2013 08:43:22 +0000 Received: by mail-wg0-f43.google.com with SMTP id z12so275437wgg.22 for ; Fri, 23 Aug 2013 01:43:21 -0700 (PDT) In-Reply-To: <5217309002000078000EDE7D@nat28.tlf.novell.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: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 23/08/2013 08:51, "Jan Beulich" wrote: > While originally the plan was only to have a distinct, random > cpumask_any(), in the course of that I spotted a few other places > having room for improvement. > > 1: un-alias cpumask_any() from cpumask_first() > 2: x86: use cpumask_any() in mask-to-APIC-ID conversions > 3: credit2: replace cpumask_first() uses > 4: credit1: replace cpumask_empty() uses > 5: domctl: replace cpumask_weight() uses > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser