lkml.org 
[lkml]   [2008]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2008-04-21 03:15    [W:0.032 / U:1.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site