------- Comment on attachment From [email protected] 2015-05-13 22:48 
EDT-------


The pthread handling for checking the cpu frequency in the ppc64_cpu
command does not properly handle when soak threads exit from a failed
sched_setaffinity call.

We need to update the number of threads handled to be dynamically set,
instead of define MAX_NR_CPUS which is out of date, and check for
threads that have exited before reading the perf counters.

** Attachment added: "[PATCH] ppc64_cpu: Correct pthread handling"
   
https://bugs.launchpad.net/bugs/1420845/+attachment/4397021/+files/ppc64_cpu_pthreads.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1420845

Title:
  ppc64_cpu --frequency fails with sched_setaffinity: Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powerpc-ibm-utils/+bug/1420845/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to