NeilBrown be51269103 md: bitmap: improve bitmap maintenance code.
The code for checking which bits in the bitmap can be cleared
has 2 problems:
 1/ it repeatedly takes and drops a spinlock, where it would make
    more sense to just hold on to it most of the time.
 2/ it doesn't make use of some opportunities to skip large sections
    of the bitmap

This patch fixes those.  It will only affect CPU consumption, not
correctness.

Signed-off-by: NeilBrown <neilb@suse.de>
2009-05-26 09:41:17 +10:00
..
2006-01-01 22:21:50 +01:00
2009-04-02 19:55:28 +01:00
2009-04-02 19:55:24 +01:00
2009-04-09 00:27:12 +01:00
2009-04-09 00:27:17 +01:00
2009-04-09 00:27:13 +01:00
2009-01-06 03:05:12 +00:00
2009-04-09 00:27:13 +01:00
2007-10-20 02:01:26 +01:00
2009-04-15 08:28:09 +02:00
2009-04-09 00:27:13 +01:00
2009-04-14 12:01:53 +10:00
2009-03-31 15:00:31 +11:00
2009-03-31 14:57:37 +11:00
2005-04-16 15:20:36 -07:00