Messages in this thread | | | Subject | Re: [PATCH] sbitmap: Consider cleared bits in sbitmap_bitmap_show() | From | Jens Axboe <> | Date | Wed, 1 Jul 2020 10:53:28 -0600 |
| |
On 7/1/20 2:06 AM, John Garry wrote: > sbitmap works by maintaining separate bitmaps of set and cleared bits. > The set bits are cleared in a batch, to save the burden of continuously > locking the "word" map to unset. > > sbitmap_bitmap_show() only shows the set bits (in "word"), which is not > too much use, so mask out the cleared bits.
Applied, thanks.
-- Jens Axboe
| |