All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Copeland <me@bobcopeland.com>
To: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: akpm@linux-foundation.org, hch@infradead.org,
	alan@lxorguk.ukuu.org.uk, miklos@szeredi.hu,
	linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 6/8] omfs: add bitmap routines
Date: Sun, 20 Apr 2008 21:11:09 -0400	[thread overview]
Message-ID: <20080421011109.GA7496@hash.localnet> (raw)
In-Reply-To: <20080419220307.GB7888@joi>

On Sun, Apr 20, 2008 at 12:03:12AM +0200, Marcin Slusarz wrote:
> I think inner loop can be replaced with something like:
> sum += sb->s_blocksize * 8 - bitmap_weight(map, sb->s_blocksize * 8);

Yep that should work, I'll play around with that.

-- 
Bob Copeland %% www.bobcopeland.com 


  reply	other threads:[~2008-04-21  1:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 20:37 [PATCH 6/8] omfs: add bitmap routines Bob Copeland
2008-04-19 22:03 ` Marcin Slusarz
2008-04-21  1:11   ` Bob Copeland [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-04-26 21:26 Bob Copeland

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=20080421011109.GA7496@hash.localnet \
    --to=me@bobcopeland.com \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=hch@infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcin.slusarz@gmail.com \
    --cc=miklos@szeredi.hu \
    /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.