cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] bitmap: optimize API usage
@ 2024-05-13 22:01 Yury Norov
  2024-05-13 22:01 ` [PATCH 1/6] smp: optimize smp_call_function_many_cond() Yury Norov
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Yury Norov @ 2024-05-13 22:01 UTC (permalink / raw)
  To: linux-kernel, Greg Kroah-Hartman, Paul E. McKenney,
	Rafael J. Wysocki, Anna-Maria Behnsen, Ben Segall,
	Daniel Bristot de Oliveira, Dietmar Eggemann, Frederic Weisbecker,
	Imran Khan, Ingo Molnar, Johannes Weiner, Juri Lelli,
	Leonardo Bras, Mel Gorman, Peter Zijlstra, Rik van Riel,
	Steven Rostedt, Tejun Heo, Thomas Gleixner, Valentin Schneider,
	Vincent Guittot, Waiman Long, Yury Norov, Zefan Li, cgroups

In a few places bitmap API is called with such a combination of
parameters that makes the call unneeded, or there's a trivial cheaper
alternative.

For example, cpumask_copy(dst, src) where dst == src is simply a no-op.
This series addresses such cases spotted on x86_64 with LTP.

All the patches are independent and may be applied separately in
corresponding subsystems. Or I can take them in bitmap branch, if it's
more convenient.

Yury Norov (6):
  smp: optimize smp_call_function_many_cond()
  sched/topology: optimize topology_span_sane()
  driver core: cpu: optimize print_cpus_isolated()
  genirq: optimze irq_do_set_affinity()
  cgroup/cpuset: optimize cpuset_mems_allowed_intersects()
  tick/common: optimize cpumask_equal() usage

 drivers/base/cpu.c        |  6 ++++--
 kernel/cgroup/cpuset.c    |  3 +++
 kernel/irq/manage.c       |  3 ++-
 kernel/sched/topology.c   |  2 +-
 kernel/smp.c              |  5 ++++-
 kernel/time/tick-common.c | 15 +++++++++++----
 6 files changed, 25 insertions(+), 9 deletions(-)

-- 
2.40.1


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

end of thread, other threads:[~2024-07-31 19:52 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-13 22:01 [PATCH 0/6] bitmap: optimize API usage Yury Norov
2024-05-13 22:01 ` [PATCH 1/6] smp: optimize smp_call_function_many_cond() Yury Norov
2024-05-13 22:01 ` [PATCH 2/6] sched/topology: optimize topology_span_sane() Yury Norov
2024-05-14 20:53   ` Christophe JAILLET
2024-07-31 19:52     ` Leonardo Bras
2024-05-13 22:01 ` [PATCH 3/6] driver core: cpu: optimize print_cpus_isolated() Yury Norov
2024-05-14 21:02   ` Thomas Gleixner
2024-05-13 22:01 ` [PATCH 4/6] genirq: optimize irq_do_set_affinity() Yury Norov
2024-05-14 12:51   ` Jinjie Ruan
2024-05-14 16:16     ` Yury Norov
2024-05-13 22:01 ` [PATCH 5/6] cgroup/cpuset: optimize cpuset_mems_allowed_intersects() Yury Norov
2024-05-14 16:47   ` Waiman Long
2024-05-14 16:50     ` Tejun Heo
2024-05-14 16:55       ` Waiman Long
2024-05-13 22:01 ` [PATCH 6/6] tick/common: optimize cpumask_equal() usage Yury Norov
2024-05-14  8:31   ` Thomas Gleixner
2024-05-14  8:42     ` Thomas Gleixner
2024-05-14 16:47       ` Yury Norov
2024-05-14 20:47         ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).