lkml.org 
[lkml]   [2021]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V4 12/12] trace/osnoise: Support hotplug operations
On Tue, 15 Jun 2021 11:28:51 +0200
Daniel Bristot de Oliveira <bristot@redhat.com> wrote:

> @@ -1566,7 +1627,14 @@ osnoise_cpus_write(struct file *filp, const char __user *ubuf, size_t count,
> osnoise_tracer_stop(tr);
>
> mutex_lock(&interface_lock);
> + /*
> + * osnoise_cpumask is ready by CPU hotplug operations.

I don't understand the usage of "ready" above. Lost in translation?

* osnoise_cpumask is updated by CPU hotplug operations.

?

-- Steve


> + */
> + get_online_cpus();
> +
> cpumask_copy(&osnoise_cpumask, osnoise_cpumask_new);
> +
> + put_online_cpus();
> mutex_unlock(&interface_lock);
>

\
 
 \ /
  Last update: 2021-06-18 21:05    [W:0.126 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site