Re: [PATCH 0/2] bitmap: introduce bitmap_weight_from()

From: Dave Hansen
Date: Mon Jul 21 2025 - 11:30:25 EST


On 7/19/25 18:41, Yury Norov wrote:
> arch/x86/kernel/cpu/topology.c | 9 ++-------
> include/linux/bitmap.h | 11 +++++++++++
> lib/bitmap.c | 28 ++++++++++++++++++++++++++++
> 3 files changed, 41 insertions(+), 7 deletions(-)

I think we need to hear more about the motivation for doing this,
including if there are other sites that might benefit from this helper.