aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2021-05-27 19:01:21 +0000
committerThomas Gleixner <[email protected]>2021-06-22 14:53:16 +0000
commitfa218f1cce6ba40069c8daab8821de7e6be1cdd0 (patch)
treef3dcc2b6a10d420b22b5f5eb0613380fd76177bb /tools/perf/scripts/python/syscall-counts.py
parentclocksource: Check per-CPU clock synchronization when marked unstable (diff)
downloadkernel-fa218f1cce6ba40069c8daab8821de7e6be1cdd0.tar.gz
kernel-fa218f1cce6ba40069c8daab8821de7e6be1cdd0.zip
clocksource: Limit number of CPUs checked for clock synchronization
Currently, if skew is detected on a clock marked CLOCK_SOURCE_VERIFY_PERCPU, that clock is checked on all CPUs. This is thorough, but might not be what you want on a system with a few tens of CPUs, let alone a few hundred of them. Therefore, by default check only up to eight randomly chosen CPUs. Also provide a new clocksource.verify_n_cpus kernel boot parameter. A value of -1 says to check all of the CPUs, and a non-negative value says to randomly select that number of CPUs, without concern about selecting the same CPU multiple times. However, make use of a cpumask so that a given CPU will be checked at most once. Suggested-by: Thomas Gleixner <[email protected]> # For verify_n_cpus=1. Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Feng Tang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions