]> git.ipfire.org Git - thirdparty/linux.git/commit
perf test: Ensure lock contention using pipe mode
authorJan Polensky <japo@linux.ibm.com>
Fri, 25 Jul 2025 17:08:01 +0000 (19:08 +0200)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 30 Jul 2025 20:38:53 +0000 (13:38 -0700)
commit022245067f07ab913d27054ee9e1fab45256acd5
tree8d1b7c9181178a37a7a0f9ea90012e231b9ebcbf
parent59edbec7a5c70af6c0058e32eb3750bfb8928d7b
perf test: Ensure lock contention using pipe mode

The 'kernel lock contention analysis test' requires reliable triggering
of lock contention. On some systems, previous benchmark calls failed to
generate sufficient contention due to low system activity or resource
limits.

This patch adds the -p (pipe) option to all calls of perf bench sched
messaging, ensuring consistent lock contention without relying on
socket-based communication.

Suggested-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Jan Polensky <japo@linux.ibm.com>
Link: https://lore.kernel.org/r/20250725170801.3176678-1-japo@linux.ibm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/shell/lock_contention.sh