aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2022-08-29 14:47:17 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-08-30 10:56:24 +0200
commit16db2839a5a59c242df77308cf57342ce0c3768e (patch)
treea48378cfa04fdf7ae5ed6a9d2e101d2f346f3440 /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com
parentperf/hw_breakpoint: Reduce contention with large number of tasks (diff)
downloadlinux-dev-16db2839a5a59c242df77308cf57342ce0c3768e.tar.xz
linux-dev-16db2839a5a59c242df77308cf57342ce0c3768e.zip
perf/hw_breakpoint: Introduce bp_slots_histogram
Factor out the existing `atomic_t count[N]` into its own struct called 'bp_slots_histogram', to generalize and make its intent clearer in preparation of reusing elsewhere. The basic idea of bucketing "total uses of N slots" resembles a histogram, so calling it such seems most intuitive. No functional change. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Dmitry Vyukov <dvyukov@google.com> Acked-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20220829124719.675715-13-elver@google.com
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions