Re: [RFC PATCH v7 06/23] bitops: Introduce find_next_or_bit

2020-09-02 Thread Randy Dunlap
On 8/28/20 12:51 PM, Julien Desfossez wrote: > +#ifndef find_next_or_bit > +/** > + * find_next_or_bit - find the next set bit in any memory regions > + * @addr1: The first address to base the search on > + * @addr2: The second address to base the search on > + * @offset: The bitnumber to start sea

[RFC PATCH v7 06/23] bitops: Introduce find_next_or_bit

2020-08-28 Thread Julien Desfossez
From: Vineeth Pillai Hotplug fixes to core-scheduling require a new bitops API. Introduce a new API find_next_or_bit() which returns the bit number of the next set bit in OR-ed bit masks of the given bit masks. Signed-off-by: Vineeth Pillai Signed-off-by: Joel Fernandes (Google) --- include/