Messages in this thread | | | Date | Thu, 10 Oct 2013 19:39:37 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2 |
| |
On 10/10, Peter Zijlstra wrote: > > The freeze suggestion from Ingo would actually work because we freeze > tasks at known good points
Not really known/good, we have more and more freezable_schedule's. But probably this is fine, nobody should do this under get_online_cpus().
> (userspace and kthread_freeze() points) where > we know they're not fiddling with per-cpu state.
We should also take care of PF_NOFREEZE kthreads.
Oleg.
| |