All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yury Norov <ynorov@nvidia.com>
To: "Yury Norov (NVIDIA)" <yury.norov@gmail.com>
Cc: "Ingo Molnar" <mingo@redhat.com>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Borislav Petkov" <bp@alien8.de>,
	"Dave Hansen" <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	"Rasmus Villemoes" <linux@rasmusvillemoes.dk>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"Peter Zijlstra (Intel)" <peterz@infradead.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Tony Luck" <tony.luck@intel.com>,
	"Xin Li (Intel)" <xin@zytor.com>,
	"Chang S. Bae" <chang.seok.bae@intel.com>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/2] x86/topology: add bitmap_weight_from() and use it in topo_unit_count()
Date: Fri, 13 Mar 2026 18:42:25 -0400	[thread overview]
Message-ID: <abSS0c1s02LaAdSv@yury> (raw)
In-Reply-To: <aZtBv_V0P9n2YXHB@yury>

On Sun, Feb 22, 2026 at 12:49:51PM -0500, Yury Norov wrote:
> Ping?

OK, if no objections, I'm taking it in bitmap-for-next.

Thanks,
Yury
 
> On Mon, Dec 22, 2025 at 02:11:36PM -0500, Yury Norov (NVIDIA) wrote:
> > Currently the function open-codes the missing bitmap_weight_from() with
> > a for-loop, which is known to be less effective. Add the helper and
> > switch topo_unit_count() to using it.
> > 
> > v1: https://lore.kernel.org/all/20251214235437.244125-1-yury.norov@gmail.com/
> > v2:
> >  - rename 'nbits' to 'end' (Ingo);
> >  - leverage bitmap_weight() in inline implementation;
> >  - drop outline implementation;
> >  - don't handle 'start >= end' case explititly, leave it to user.
> > 
> > Yury Norov (NVIDIA) (2):
> >   bitmap: add bitmap_weight_from()
> >   x86/topology: use bitmap_weight_from()
> > 
> >  arch/x86/kernel/cpu/topology.c |  8 ++------
> >  include/linux/bitmap.h         | 30 ++++++++++++++++++++++++++++++
> >  lib/test_bitmap.c              | 26 ++++++++++++++++++++++++++
> >  3 files changed, 58 insertions(+), 6 deletions(-)
> > 
> > -- 
> > 2.43.0

      reply	other threads:[~2026-03-13 22:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-22 19:11 [PATCH v2 0/2] x86/topology: add bitmap_weight_from() and use it in topo_unit_count() Yury Norov (NVIDIA)
2025-12-22 19:11 ` [PATCH v2 1/2] bitmap: add bitmap_weight_from() Yury Norov (NVIDIA)
2025-12-22 19:11 ` [PATCH v2 2/2] x86/topology: use bitmap_weight_from() Yury Norov (NVIDIA)
2026-02-22 17:49 ` [PATCH v2 0/2] x86/topology: add bitmap_weight_from() and use it in topo_unit_count() Yury Norov
2026-03-13 22:42   ` Yury Norov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=abSS0c1s02LaAdSv@yury \
    --to=ynorov@nvidia.com \
    --cc=akpm@linux-foundation.org \
    --cc=bp@alien8.de \
    --cc=chang.seok.bae@intel.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    --cc=xin@zytor.com \
    --cc=yury.norov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.