From: Akinobu Mita <akinobu.mita@gmail.com>
To: Akinobu Mita <akinobu.mita@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [PATCH] drbd: use bitmap_weight()
Date: Sun, 22 Mar 2015 11:11:41 +0900 [thread overview]
Message-ID: <CAC5umyiWnqDT2EmhcaanZZKYtPoBgG5UzB2602sOO2sRNak3Ng@mail.gmail.com> (raw)
In-Reply-To: <20150320151450.GG3556@soda.linbit>
2015-03-21 0:14 GMT+09:00 Lars Ellenberg <lars.ellenberg@linbit.com>:
> On Sat, Mar 14, 2015 at 10:12:56AM +0900, Akinobu Mita wrote:
>> Use bitmap_weight to count the total number of bits set in bitmap.
>> This change just simplifies the code a bit.
>
> "Simplifies", not sure about that, but ok, maybe.
>
> For the "bm_set_full_words_within_one_page", I disagree.
> I think it is more cpu cache friendly to hweight_long then set to ~0UL
> each word in turn, than to first bitmap_weight() all words, then
> bitmap_fill() all words.
I see. I'll remove the change in bm_set_full_words_within_one_page().
> Thanks,
>
> Lars Ellenberg
>
> BTW, you swapped names and email addresses of phil and me. Are those
> listed incorrectly somewhere, or was that just a mishap on your part?
It's just my mistake. I copied your names from MAINTAINERS, but it
doesn't list your email addresses then I incorrectly swapped while
retrieving email addrsses from git log.
next prev parent reply other threads:[~2015-03-22 2:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-14 1:12 [PATCH] hpsa: cleanup bitops usage Akinobu Mita
2015-03-14 1:12 ` [PATCH] cpqarray: simplify bitops usages Akinobu Mita
2015-03-14 1:12 ` [PATCH] pktcdvd: convert char array to bitmap Akinobu Mita
2015-03-14 1:12 ` [PATCH] drbd: use bitmap_weight() Akinobu Mita
2015-03-20 15:14 ` [Drbd-dev] " Lars Ellenberg
2015-03-22 2:11 ` Akinobu Mita [this message]
2015-03-14 1:12 ` [PATCH] ia64: Use bitmap_weight Akinobu Mita
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=CAC5umyiWnqDT2EmhcaanZZKYtPoBgG5UzB2602sOO2sRNak3Ng@mail.gmail.com \
--to=akinobu.mita@gmail.com \
--cc=drbd-dev@lists.linbit.com \
--cc=linux-kernel@vger.kernel.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 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).