diff options
author | 2024-05-24 11:58:28 -0700 | |
---|---|---|
committer | 2024-06-18 10:40:52 -0700 | |
commit | 5c563ee90a22d3295bcd6217e3ecd7bf9f4d9d48 (patch) | |
tree | cfd934aeec549bfe03ddadeb876cdfb6d9b22732 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'efi-fixes-for-v6.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi (diff) | |
download | wireguard-linux-5c563ee90a22d3295bcd6217e3ecd7bf9f4d9d48.tar.xz wireguard-linux-5c563ee90a22d3295bcd6217e3ecd7bf9f4d9d48.zip |
cpumask: introduce assign_cpu() macro
Now that assign_bit() is a thin macro wrapper around set_bit() and
clear_bit(), we can use it in cpumask API and drop duplicating
implementations of set_cpu_xxx() helpers with no additional overhead.
Bloat-o-meter reports almost 2k less of generated code for allyesconfig,
mostly in kernel/cpu.c:
add/remove: 2/4 grow/shrink: 3/4 up/down: 498/-2228 (-1730)
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions