Logically this is a right thing to do, but I wonder how much speedup you are getting with these improvements ? It will be great if you have some numbers so we all know the speedup. Irrespective of that, this looks good to me. Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> On 03/10/2020 06:17 AM, Martijn Coenen wrote: > Return early in loop_set_block_size() if the requested block size is > identical to the one we already have; this avoids expensive calls to > freeze the block queue. > > Signed-off-by: Martijn Coenen<maco@xxxxxxxxxxx>