aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/hsi/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorCosta Shulyupin <costa.shul@redhat.com>2026-03-06 21:49:49 +0200
committerTomas Glozar <tglozar@redhat.com>2026-03-09 08:49:16 +0100
commit115b06a008756ec777249dc9f432dc1a6c681396 (patch)
tree6384fa33c1b8cf419a0a4d345c58ea321d4afad0 /include/linux/hsi/ssh:/git@git.zx2c4.com
parentDocumentation/rtla: Document --stack-format option (diff)
tools/rtla: Consolidate nr_cpus usage across all tools
sysconf(_SC_NPROCESSORS_CONF) (via get_nprocs_conf) reflects cpu_possible_mask, which is fixed at boot time, so querying it repeatedly is unnecessary. Replace multiple calls to sysconf(_SC_NPROCESSORS_CONF) with a single global nr_cpus variable initialized once at startup. `#pragma once` in timerlat_u.h is needed for pre-C23 compilers to avoid redefinition errors. Signed-off-by: Costa Shulyupin <costa.shul@redhat.com> Link: https://lore.kernel.org/r/20260306194953.2511960-2-costa.shul@redhat.com Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Diffstat (limited to 'include/linux/hsi/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions