Skip to content

Commit d927f7c

Browse files
committed
sbitmap: remove stale comment in sbq_calc_wake_batch
jira LE-4066 Rebuild_History Non-Buildable kernel-4.18.0-553.72.1.el8_10 commit-author Kemeng Shi <shikemeng@huaweicloud.com> commit 5c7fa5c After commit 1063973 ("sbitmap: fix batching wakeup"), we may wake up more than one queue for each batch. Just remove stale comment that we wake up only one queue for each batch. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Link: https://lore.kernel.org/r/20240115145626.665562-1-shikemeng@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk> (cherry picked from commit 5c7fa5c) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent 916bcc5 commit d927f7c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/sbitmap.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,6 @@ static unsigned int sbq_calc_wake_batch(struct sbitmap_queue *sbq,
410410
unsigned int shallow_depth;
411411

412412
/*
413-
* For each batch, we wake up one queue. We need to make sure that our
414-
* batch size is small enough that the full depth of the bitmap,
415-
* potentially limited by a shallow depth, is enough to wake up all of
416-
* the queues.
417-
*
418413
* Each full word of the bitmap has bits_per_word bits, and there might
419414
* be a partial word. There are depth / bits_per_word full words and
420415
* depth % bits_per_word bits left over. In bitwise arithmetic:

0 commit comments

Comments
 (0)