Thread (11 messages) 11 messages, 5 authors, 2023-12-08

Re: [PATCH v2 14/35] PCI: hv: switch hv_get_dom_num() to use atomic find_bit()

From: Wei Liu <wei.liu@kernel.org>
Date: 2023-12-04 05:58:30
Also in: linux-pci, lkml

On Sun, Dec 03, 2023 at 11:32:46AM -0800, Yury Norov wrote:
The function traverses bitmap with for_each_clear_bit() just to allocate
a bit atomically. We can do it better with a dedicated find_and_set_bit().

Signed-off-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Michael Kelley <redacted>
Acked-by: Wei Liu <wei.liu@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help