Re: [PATCH 1/4 V3 net-next] cpumask: add cpumask_weight_andnot()
From: Paolo Abeni <pabeni@redhat.com>
Date: 2024-02-01 09:39:23
Also in:
linux-hyperv, linux-rdma, lkml
From: Paolo Abeni <pabeni@redhat.com>
Date: 2024-02-01 09:39:23
Also in:
linux-hyperv, linux-rdma, lkml
On Sun, 2024-01-28 at 22:21 -0800, Souradeep Chakrabarti wrote:
From: Yury Norov <yury.norov@gmail.com> 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@gmail.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
@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