lkml.org 
[lkml]   [2022]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()
From
On 6/5/22 8:58 AM, wuchi wrote:
> 1. Getting next index before continue branch.
> 2. Checking free bits when setting the target bits. Otherwise,
> it may reuse the busying bits.

Applied with:

Fixes: 9672b0d43782 ("sbitmap: add __sbitmap_queue_get_batch()")

added as well.

--
Jens Axboe

\
 
 \ /
  Last update: 2022-06-25 19:01    [W:0.068 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site