Skip to content

bitmap: optimize API usage

Yury Norov cgroups lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6smp: optimize smp_call_function_many_cond()kernel/smp.c+4 -10 replies
2/6sched/topology: optimize topology_span_sane()kernel/sched/topology.c+1 -12 replies
3/6driver core: cpu: optimize print_cpus_isolated()drivers/base/cpu.c+4 -21 reply
4/6genirq: optimize irq_do_set_affinity()kernel/irq/manage.c+2 -12 replies
5/6cgroup/cpuset: optimize cpuset_mems_allowed_intersects()kernel/cgroup/cpuset.c+3 -03 replies
6/6tick/common: optimize cpumask_equal() usagekernel/time/tick-common.c+11 -44 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchWaiman Long
1/6
2/6
3/6
4/6
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.40.1