Re: [PATCH 07/10] um: Should hold tasklist_lock while traversing processes

Peter Zijlstra
2012-03-24T12:48:59Z

On Sat, 2012-03-24 at 14:30 +0400, Anton Vorontsov wrote:
> Traversing the tasks requires holding tasklist_lock, otherwise it
> is unsafe.

No it doesn't, it either requires tasklist_lock or rcu_read_lock().