Re: [v1] trace/hwlat: stop worker if !is_percpu_thread due to hotplug event

2024-02-01 Thread Steven Rostedt
On Thu, 1 Feb 2024 14:24:55 +0800 Andy Chiu wrote: > If the task happens to run after cpu hot-plug offline, then it would not > be running in a percpu_thread. Instead, it would be re-queued into a > UNBOUND workqueue. This would trigger a warning if we enable kernel > preemption. > > Signed-off

[v1] trace/hwlat: stop worker if !is_percpu_thread due to hotplug event

2024-01-31 Thread Andy Chiu
If the task happens to run after cpu hot-plug offline, then it would not be running in a percpu_thread. Instead, it would be re-queued into a UNBOUND workqueue. This would trigger a warning if we enable kernel preemption. Signed-off-by: Andy Chiu --- kernel/trace/trace_hwlat.c | 11 ++-