[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080421011109.GA7496@hash.localnet>
Date: Sun, 20 Apr 2008 21:11:09 -0400
From: Bob Copeland <me@...copeland.com>
To: Marcin Slusarz <marcin.slusarz@...il.com>
Cc: akpm@...ux-foundation.org, hch@...radead.org,
alan@...rguk.ukuu.org.uk, miklos@...redi.hu,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 6/8] omfs: add bitmap routines
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists