bitmap: optimize API usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | smp: optimize smp_call_function_many_cond()kernel/ | +4 | 0 replies | |
| 2/6 | sched/topology: optimize topology_span_sane()kernel/ | +1 | 2 replies | |
| 3/6 | driver core: cpu: optimize print_cpus_isolated()drivers/ | +4 | 1 reply | |
| 4/6 | genirq: optimize irq_do_set_affinity()kernel/ | +2 | 2 replies | |
| 5/6 | cgroup/cpuset: optimize cpuset_mems_allowed_intersects()kernel/ | +3 | 3 replies | |
| 6/6 | tick/common: optimize cpumask_equal() usagekernel/ | +11 | 4 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Waiman Long |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | R-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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