mbox series

[0/3] selftests/powerpc: ptrace/perf_hwbreak test fixes

Message ID cover.1669096083.git.naveen.n.rao@linux.vnet.ibm.com (mailing list archive)
Headers show
Series selftests/powerpc: ptrace/perf_hwbreak test fixes | expand

Message

Naveen N. Rao Nov. 22, 2022, 6:40 a.m. UTC
This series fixes two issues with the perf_hwbreak test:
- Test fails on systems with large number of cpus due to hitting the 
  resource limit for maximum number of open file descriptors.
- Test fails on systems running with lower SMT levels since it assumes 
  all cpus are online.

Fix those issues. The first patch is a small cleanup to aid subsequent 
fixes.

- Naveen


Naveen N. Rao (3):
  selftests/powerpc: Move perror closer to its use
  selftests/powerpc: Bump up rlimit for perf-hwbreak test
  selftests/powerpc: Account for offline cpus in perf-hwbreak test

 .../selftests/powerpc/ptrace/perf-hwbreak.c   | 78 +++++++++++++------
 1 file changed, 56 insertions(+), 22 deletions(-)


base-commit: eb05539de71d4784705d3e502d951ac17fea05e3

Comments

Michael Ellerman Dec. 8, 2022, 12:39 p.m. UTC | #1
On Tue, 22 Nov 2022 12:10:51 +0530, Naveen N. Rao wrote:
> This series fixes two issues with the perf_hwbreak test:
> - Test fails on systems with large number of cpus due to hitting the
>   resource limit for maximum number of open file descriptors.
> - Test fails on systems running with lower SMT levels since it assumes
>   all cpus are online.
> 
> Fix those issues. The first patch is a small cleanup to aid subsequent
> fixes.
> 
> [...]

Applied to powerpc/next.

[1/3] selftests/powerpc: Move perror closer to its use
      https://git.kernel.org/powerpc/c/71ae6305ad41cfd1ac5aa91d356e71c7a537df2e
[2/3] selftests/powerpc: Bump up rlimit for perf-hwbreak test
      https://git.kernel.org/powerpc/c/616ad3f4aac287c48b66c92cb777395b4465ed4f
[3/3] selftests/powerpc: Account for offline cpus in perf-hwbreak test
      https://git.kernel.org/powerpc/c/260095926d3956071c6699a28824c3f0fa7cd97a

cheers