summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rlock.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-01-24 05:30:15 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-01-26 14:51:49 +0100
commit9a8dd2f24d1cb8e8df2c5d18b4973298db1006e1 (patch)
tree7f9cdf0dcbcc931f41c94c3514e9e77d6745a443 /lib/locking-selftest-rlock.h
parentperf test shell script: Fix test for python being disabled (diff)
downloadlinux-9a8dd2f24d1cb8e8df2c5d18b4973298db1006e1.tar.xz
linux-9a8dd2f24d1cb8e8df2c5d18b4973298db1006e1.zip
perf test shell daemon: Make signal test less racy
The daemon signal test sends signals and then expects files to be written. It was observed on an Intel Alderlake that the signals were sent too quickly leading to the 3 expected files not appearing. To avoid this send the next signal only after the expected previous file has appeared. To avoid an infinite loop the number of retries is limited. Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Kajol Jain <kjain@linux.ibm.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: Ross Zwisler <zwisler@chromium.org> Cc: Shirisha G <shirisha@linux.ibm.com> Link: https://lore.kernel.org/r/20240124043015.1388867-6-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions