]> Git Repo - linux.git/commitdiff
sbitmap: remove stale comment in sbq_calc_wake_batch
authorKemeng Shi <[email protected]>
Mon, 15 Jan 2024 14:56:26 +0000 (22:56 +0800)
committerJens Axboe <[email protected]>
Mon, 15 Jan 2024 14:23:50 +0000 (07:23 -0700)
After commit 106397376c036 ("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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
lib/sbitmap.c

index d0a5081dfd122e42702748c30fea79100d84727b..92c6b1fd898938e4613d8289cf49c09fd53bb93b 100644 (file)
@@ -388,11 +388,6 @@ static unsigned int sbq_calc_wake_batch(struct sbitmap_queue *sbq,
        unsigned int shallow_depth;
 
        /*
-        * For each batch, we wake up one queue. We need to make sure that our
-        * batch size is small enough that the full depth of the bitmap,
-        * potentially limited by a shallow depth, is enough to wake up all of
-        * the queues.
-        *
         * Each full word of the bitmap has bits_per_word bits, and there might
         * be a partial word. There are depth / bits_per_word full words and
         * depth % bits_per_word bits left over. In bitwise arithmetic:
This page took 0.056599 seconds and 4 git commands to generate.