lkml.org 
[lkml]   [2004]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch 17/23] mask v2 = [6/7] nodemask_t_ia64_changes
> I've reduced this to a pair of bitmap.h operators:
>
> > #define find_next_bit_in_bitmap(src, nbits, n) \
> > ({ int i = (n); while(i < (nbits) && !test_bit(i, (src))) i++; i; })
> >
> > #define find_first_bit_in_bitmap(src, nbits) \
> > find_next_bit_in_bitmap((src), (nbits), 0)
>
> ...
>
> My next mask patchset will have these.

Wrong. My next patch set, released 8 April, did not have these.

A subsequent discussion with Nick Piggin convinced me that the
better path was to take find_next_bit() out of line, which I did
for ia64 (other arch's might also want to do this).

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.065 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site