All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <George.Dunlap@eu.citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>, Keir Fraser <keir@xen.org>
Subject: Re: [PATCH 3/5] credit2: replace cpumask_first() uses
Date: Fri, 23 Aug 2013 12:49:11 +0100	[thread overview]
Message-ID: <CAFLBxZaSZt+06czhpdgpixJQkZLvqySrZShntfE1MH5JWF=eQQ@mail.gmail.com> (raw)
In-Reply-To: <5217314802000078000EDE90@nat28.tlf.novell.com>

On Fri, Aug 23, 2013 at 8:54 AM, Jan Beulich <JBeulich@suse.com> wrote:
> ... with cpumask_any() or cpumask_cycle().
>
> In one case this also allows elimination of a cpumask_empty() call,
> and while doing this I also spotted a redundant use of
> cpumask_weight(). (When running on big systems, operations on CPU masks
> aren't cheap enough to use them carelessly.)
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>

  reply	other threads:[~2013-08-23 11:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23  7:51 [PATCH 0/5] adjust usage of certain cpumask_*() operations Jan Beulich
2013-08-23  7:52 ` [PATCH 1/5] un-alias cpumask_any() from cpumask_first() Jan Beulich
2013-08-23 11:37   ` George Dunlap
2013-08-23  7:53 ` [PATCH 2/5] x86: use cpumask_any() in mask-to-APIC-ID conversions Jan Beulich
2013-08-23  7:54 ` [PATCH 3/5] credit2: replace cpumask_first() uses Jan Beulich
2013-08-23 11:49   ` George Dunlap [this message]
2013-08-23  7:54 ` [PATCH 4/5] credit1: replace cpumask_empty() uses Jan Beulich
2013-08-23 11:50   ` George Dunlap
2013-08-23  7:55 ` [PATCH 5/5] domctl: replace cpumask_weight() uses Jan Beulich
2013-08-23  8:43 ` [PATCH 0/5] adjust usage of certain cpumask_*() operations Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFLBxZaSZt+06czhpdgpixJQkZLvqySrZShntfE1MH5JWF=eQQ@mail.gmail.com' \
    --to=george.dunlap@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.