Re: [PATCH v2 08/13] xen/bitops: Implement ffsl() in common logic

2024-05-30 Thread Stefano Stabellini
On Mon, 27 May 2024, Jan Beulich wrote: > On 24.05.2024 22:03, Andrew Cooper wrote: > > Just like ffs() in the previous changes. Express the upper bound of the > > testing in terms of BITS_PER_LONG as it varies between architectures. > > > > Signed-off-by: Andrew Cooper > > Reviewed-by: Jan Beu

Re: [PATCH v2 08/13] xen/bitops: Implement ffsl() in common logic

2024-05-27 Thread Jan Beulich
On 24.05.2024 22:03, Andrew Cooper wrote: > Just like ffs() in the previous changes. Express the upper bound of the > testing in terms of BITS_PER_LONG as it varies between architectures. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich > @@ -458,6 +441,24 @@ static always_inline uns

[PATCH v2 08/13] xen/bitops: Implement ffsl() in common logic

2024-05-24 Thread Andrew Cooper
Just like ffs() in the previous changes. Express the upper bound of the testing in terms of BITS_PER_LONG as it varies between architectures. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Wei Liu CC: Stefano Stabellini CC: Julien Grall CC: Volodymyr Babchuk CC: B