[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <618e3f85-10a5-4e65-a91f-20e0cd5f4c0f@suse.com>
Date: Mon, 20 Nov 2023 12:39:29 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Yury Norov <yury.norov@...il.com>, linux-kernel@...r.kernel.org,
Oliver Neukum <oneukum@...e.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org
Cc: Jan Kara <jack@...e.cz>,
Mirsad Todorovac <mirsad.todorovac@....unizg.hr>,
Matthew Wilcox <willy@...radead.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Maxim Kuvyrkov <maxim.kuvyrkov@...aro.org>,
Alexey Klimov <klimov.linux@...il.com>
Subject: Re: [PATCH 21/34] usb: cdc-acm: optimize acm_softint()
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@...il.com>
Acked-by: Oliver Neukum <oneukum@...e.com>
Powered by blists - more mailing lists