Re: [PATCH v2] tracing/hwlat: Bind the sampler kthread instead of setting its affinity

From: Steven Rostedt

Date: Fri Nov 27 2026 - 11:01:53 EST


On Thu, 26 Nov 2026 17:16:42 +0800
Wenwu Hou <hwenwur@xxxxxxxxx> wrote:

> >
> > Right, the affinity should only be changed by the kernel if tracing_cpumask is
> > written. Otherwise it doesn't seem to make sense to let the user play with the
> > affinity.
>
> I agree. Perhaps v1 is better.

A version of it. It needs to remove and prevent user space from modifying
the tasks affinity.

-- Steve