linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Clement Courbet <courbet@google.com>
To: Arnd Bergmann <arnd@arndb.de>,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Matthew Wilcox <mawilcox@microsoft.com>,
	Yury Norov <ynorov@caviumnetworks.com>
Cc: Clement Courbet <courbet@google.com>,
	Ingo Molnar <mingo@kernel.org>,
	linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2] lib: optimize cpumask_next_and()
Date: Thu, 26 Oct 2017 17:52:01 +0200	[thread overview]
Message-ID: <20171026155201.26104-1-courbet@google.com> (raw)
In-Reply-To: <CACVxJT9+2wV34iYsQVCeqDi1HnUyJQTc-4Pf2ihW18R0rAmxSA@mail.gmail.com>

Hi Alexey,

> Gentoo ships 5.4.0 which doesn't inline this code on x86_64 defconfig
> (which has OPTIMIZE_INLINING).

I have not actually marked _find_next_bit() inline, it just turns out
that my compiler inlines it.
I've tried out marking the function inline and OPTIMIZE_INLINING does
not un-inline it. I'll send a v4 with an explicit inine.

  reply	other threads:[~2017-10-26 15:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26 12:58 [PATCH v3] lib: optimize cpumask_next_and() Alexey Dobriyan
2017-10-26 15:52 ` Clement Courbet [this message]
2017-10-28 13:24 ` Yury Norov
  -- strict thread matches above, loose matches on Subject: below --
2017-10-24 10:51 [PATCH v2] " Clement Courbet
2017-10-25  7:28 ` Matthew Wilcox
2017-10-25  7:28   ` Matthew Wilcox
2017-10-25 14:59 ` Yury Norov
2017-10-25 14:59   ` Yury Norov
2017-10-26 12:12 ` kbuild test robot
2017-10-26 12:12   ` kbuild test robot
2017-10-26 12:22 ` kbuild test robot
2017-10-26 12:22   ` kbuild test robot

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=20171026155201.26104-1-courbet@google.com \
    --to=courbet@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=mawilcox@microsoft.com \
    --cc=mingo@kernel.org \
    --cc=ynorov@caviumnetworks.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).