diff options
author | 2023-12-21 12:45:10 +0800 | |
---|---|---|
committer | 2023-12-21 22:10:20 +1100 | |
commit | ccc0f7b7673e63139ba9d916f4567d4fadb14b55 (patch) | |
tree | 425ece54be3cf2dd2a98cdc8dd7015df8d7d7348 /tools/perf/scripts/python | |
parent | powerpc/mpc83xx: Use wait_event_freezable() for freezable kthread (diff) | |
download | wireguard-linux-ccc0f7b7673e63139ba9d916f4567d4fadb14b55.tar.xz wireguard-linux-ccc0f7b7673e63139ba9d916f4567d4fadb14b55.zip |
powerpc/ps3: Add missing set_freezable() for ps3_probe_thread()
The kernel thread function ps3_probe_thread() invokes the try_to_freeze()
in its loop. But all the kernel threads are non-freezable by default.
So if we want to make a kernel thread to be freezable, we have to invoke
set_freezable() explicitly.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Acked-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231221044510.1802429-4-haokexin@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions