From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
To: Matthew Wilcox <mawilcox@linuxonhyperv.com>
Cc: Yury Norov <yury.norov@gmail.com>,
George Spelvin <linux@horizon.com>,
Akinobu Mita <akinobu.mita@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org,
Matthew Wilcox <mawilcox@microsoft.com>
Subject: Re: [PATCH] find_bit: Micro-optimise find_next_*_bit
Date: Fri, 23 Dec 2016 21:43:46 +0100 [thread overview]
Message-ID: <878tr65qbh.fsf@rasmusvillemoes.dk> (raw)
In-Reply-To: <1482513603-9630-1-git-send-email-mawilcox@linuxonhyperv.com> (Matthew Wilcox's message of "Fri, 23 Dec 2016 09:20:03 -0800")
On Fri, Dec 23 2016, Matthew Wilcox <mawilcox@linuxonhyperv.com> wrote:
> From: Matthew Wilcox <mawilcox@microsoft.com>
>
> First, the first half of the test: (!nbits || start >= nbits) is
> trivially a subset of the second half, since nbits and start are both unsigned.
Yeah, I filed that as a missed optimization bug with gcc a year ago, but
it seems that even 6.3 still does two tests - clang 3.6 is a bit
smarter. Anyway,
Acked-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
next prev parent reply other threads:[~2016-12-23 20:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-23 17:20 [PATCH] find_bit: Micro-optimise find_next_*_bit Matthew Wilcox
2016-12-23 20:43 ` Rasmus Villemoes [this message]
2016-12-24 6:43 ` Yury Norov
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=878tr65qbh.fsf@rasmusvillemoes.dk \
--to=linux@rasmusvillemoes.dk \
--cc=akinobu.mita@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@horizon.com \
--cc=mawilcox@linuxonhyperv.com \
--cc=mawilcox@microsoft.com \
--cc=tglx@linutronix.de \
--cc=yury.norov@gmail.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 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.