# Re: \[PATCH V5 04/20\] trace/osnoise: Use start/stop\_per\_cpu\_kthreads() on osnoise\_cpus\_write()

- From: Daniel Bristot de Oliveira \<bristot@kernel.org\>
- Date: 2021-10-26 08:23:38 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2021/10/1554040
- Thread: https://ratatoskr.run/linux-rt-users/2021/10/1552908/t.md

```text
On 10/26/21 03:08, Steven Rostedt wrote:
> On Mon, 25 Oct 2021 19:40:29 +0200
> Daniel Bristot de Oliveira [ref] wrote:
> 
>> When writing a new CPU mask via osnoise/cpus, if the tracer is running,
>> the workload is restarted to follow the new cpumask. The restart is
>> currently done using osnoise_workload_start/stop(), which disables the
>> workload *and* the instrumentation. However, disabling the
>> instrumentation is not necessary.
>>
>> Calling start/stop_per_cpu_kthreads() is enough to apply the new
>> osnoise/cpus config.
>>
>> No functional change.
> 
> I nuked the "No functional change.". You can't have the changes of the
> above and say there wasn't functional changes, as the first paragraph
> explains the functional changes.

ack, /me takes note.

-- Daniel
> 
> -- Steve
> 

```
