diff options
author | 2023-06-06 17:12:25 +0200 | |
---|---|---|
committer | 2023-06-22 10:39:56 -0400 | |
commit | 4998e7fda149d2392ea6aa9879299d8a32019dbe (patch) | |
tree | c6a55588affdb423c644e6c109bf481ffd5e4852 /scripts/generate_rust_analyzer.py | |
parent | ftrace: Show all functions with addresses in available_filter_functions_addrs (diff) | |
download | wireguard-linux-4998e7fda149d2392ea6aa9879299d8a32019dbe.tar.xz wireguard-linux-4998e7fda149d2392ea6aa9879299d8a32019dbe.zip |
tracing/osnoise: Switch from PF_NO_SETAFFINITY to migrate_disable
Currently, osnoise/timerlat threads run with PF_NO_SETAFFINITY set.
It works well, however, cgroups do not allow PF_NO_SETAFFINITY threads
to be accepted, and this creates a limitation to osnoise/timerlat.
To avoid this limitation, disable migration of the threads as soon
as they start to run, and then clean the PF_NO_SETAFFINITY flag (still)
used during thread creation.
If for some reason a thread migration is requested, e.g., via
sched_settafinity, the tracer thread will notice and exit.
Link: https://lkml.kernel.org/r/8ba8bc9c15b3ea40cf73cf67a9bc061a264609f0.1686063934.git.bristot@kernel.org
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: William White <chwhite@redhat.com>
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions