Re: [RFC PATCH] sbitmap: remove unnecessary code in __sbitmap_queue_get_batch

From: Jens Axboe
Date: Fri Aug 26 2022 - 09:33:04 EST


On Fri, 26 Aug 2022 11:14:13 +0800, Liu Song wrote:
> From: Liu Song <liusong@xxxxxxxxxxxxxxxxx>
>
> If "nr + nr_tags <= map_depth", then the value of nr_tags will not be
> greater than map_depth, so no additional comparison is required.
>
>

Applied, thanks!

[1/1] sbitmap: remove unnecessary code in __sbitmap_queue_get_batch
commit: ddbfc34fcf5d0bc33b006b90c580c56edeb31068

Best regards,
--
Jens Axboe