lkml.org 
[lkml]   [2023]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 21/34] usb: cdc-acm: optimize acm_softint()
From


On 18.11.23 16:50, Yury Norov wrote:
> acm_softint(), uses for-loop to traverse urbs_in_error_delay bitmap
> bit by bit to find and clear set bits.
>
> We can do it better by using for_each_test_and_clear_bit(), because it
> doesn't test already clear bits.
>
> Signed-off-by: Yury Norov <yury.norov@gmail.com>
Acked-by: Oliver Neukum <oneukum@suse.com>

\
 
 \ /
  Last update: 2023-11-20 14:05    [W:0.452 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site