Re: [PATCH 1/4 V3 net-next] cpumask: add cpumask_weight_andnot()

From: Paolo Abeni
Date: Thu Feb 01 2024 - 04:40:48 EST


On Sun, 2024-01-28 at 22:21 -0800, Souradeep Chakrabarti wrote:
> From: Yury Norov <yury.norov@xxxxxxxxx>
>
> Similarly to cpumask_weight_and(), cpumask_weight_andnot() is a handy
> helper that may help to avoid creating an intermediate mask just to
> calculate number of bits that set in a 1st given mask, and clear in 2nd
> one.
>
> Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>
> Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>

@Yury, I guess you are fine with this patch (and the next one) going
through the net-next tree, but could you confirm that?

Thanks!

Paolo