summaryrefslogtreecommitdiff
path: root/tools/arch/s390/include
diff options
context:
space:
mode:
authorDaniel Bristot de Oliveira <bristot@kernel.org>2023-09-15 15:02:32 +0200
committerDaniel Bristot de Oliveira <bristot@kernel.org>2023-09-22 14:43:46 +0200
commite8c44d3b713b96cda055a23b21e8c4f931dd159f (patch)
tree33e9b2c38cc4959b06d0094b8f774e8468ffd957 /tools/arch/s390/include
parent301deca09b254965661d3e971f1a60ac2ce41f5f (diff)
rtla/timerlat: Do not stop user-space if a cpu is offline
If no CPU list is passed, timerlat in user-space will dispatch one thread per sysconf(_SC_NPROCESSORS_CONF). However, not all CPU might be available, for instance, if HT is disabled. Currently, rtla timerlat is stopping the session if an user-space thread cannot set affinity to a CPU, or if a running user-space thread is killed. However, this is too restrictive. So, reduce the error to a debug message, and rtla timerlat run as long as there is at least one user-space thread alive. Link: https://lore.kernel.org/lkml/59cf2c882900ab7de91c6ee33b382ac7fa6b4ed0.1694781909.git.bristot@kernel.org Fixes: cdca4f4e5e8e ("rtla/timerlat_top: Add timerlat user-space support") Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Diffstat (limited to 'tools/arch/s390/include')
0 files changed, 0 insertions, 0 deletions