[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240513220146.1461457-1-yury.norov@gmail.com>
Date: Mon, 13 May 2024 15:01:40 -0700
From: Yury Norov <yury.norov@...il.com>
To: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Paul E. McKenney" <paulmck@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Anna-Maria Behnsen <anna-maria@...utronix.de>,
Ben Segall <bsegall@...gle.com>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Frederic Weisbecker <frederic@...nel.org>,
Imran Khan <imran.f.khan@...cle.com>,
Ingo Molnar <mingo@...hat.com>,
Johannes Weiner <hannes@...xchg.org>,
Juri Lelli <juri.lelli@...hat.com>,
Leonardo Bras <leobras@...hat.com>,
Mel Gorman <mgorman@...e.de>,
Peter Zijlstra <peterz@...radead.org>,
Rik van Riel <riel@...riel.com>,
Steven Rostedt <rostedt@...dmis.org>,
Tejun Heo <tj@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Valentin Schneider <vschneid@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Waiman Long <longman@...hat.com>,
Yury Norov <yury.norov@...il.com>,
Zefan Li <lizefan.x@...edance.com>,
cgroups@...r.kernel.org
Subject: [PATCH 0/6] bitmap: optimize API usage
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
Powered by blists - more mailing lists