public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Introduce cpumask_first_but() and use cases
@ 2025-06-13  3:34 I Hsin Cheng
  2025-06-13  3:34 ` [RFC PATCH 1/2] cpumask: Introduce cpumask_first_but() I Hsin Cheng
  2025-06-13  3:34 ` [RFC PATCH 2/2] clocksource: Use cpumask_first_but() in clocksource_verify_choose_cpus() I Hsin Cheng
  0 siblings, 2 replies; 14+ messages in thread
From: I Hsin Cheng @ 2025-06-13  3:34 UTC (permalink / raw)
  To: yury.norov
  Cc: linux, jstultz, tglx, sboyd, linux-kernel, eleanor15x, visitorckw,
	jserv, skhan, linux-kernel-mentees, I Hsin Cheng

This series introduce cpumask_first_but() and make cpumask_any_but()
a wrapper around it, just like other cpumask_any*() helpers, they're
some wrappers around cpumask_first*(), except some special cases.

The patches are scheduled as the following:
1. The implementation of cpumask_first_but() and some
positive results of making cpumask_any_but() a wrapper around
it are attached there, including performance and code size.

2. Use cpumask_first_but() in clocksource


I Hsin Cheng (2):
  cpumask: Introduce cpumask_first_but()
  clocksource: Use cpumask_first_but() in
    clocksource_verify_choose_cpus()

 include/linux/cpumask.h   | 22 ++++++++++++++++------
 kernel/time/clocksource.c |  4 +---
 2 files changed, 17 insertions(+), 9 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-06-16 14:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-13  3:34 [RFC PATCH 0/2] Introduce cpumask_first_but() and use cases I Hsin Cheng
2025-06-13  3:34 ` [RFC PATCH 1/2] cpumask: Introduce cpumask_first_but() I Hsin Cheng
2025-06-13  5:55   ` Kuan-Wei Chiu
2025-06-13  3:34 ` [RFC PATCH 2/2] clocksource: Use cpumask_first_but() in clocksource_verify_choose_cpus() I Hsin Cheng
2025-06-13  5:02   ` Yury Norov
2025-06-13  5:22     ` I Hsin Cheng
2025-06-16 14:34       ` Shuah Khan
2025-06-13  5:41     ` I Hsin Cheng
2025-06-13  6:00     ` I Hsin Cheng
2025-06-13 10:48     ` Thomas Gleixner
2025-06-13 11:37       ` I Hsin Cheng
2025-06-13 16:29       ` Yury Norov
2025-06-13 16:56         ` Thomas Gleixner
2025-06-16 14:38       ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox