# Re: \[PATCH 07/10\] um: Should hold tasklist\_lock while traversing processes

- From: Anton Vorontsov \<hidden\>
- Date: 2012-03-24 16:44:41 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/03/3840469
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/03/3840415/t.md

```text
On Sat, Mar 24, 2012 at 01:48:23PM +0100, Peter Zijlstra wrote:
> 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().

Well, currently the code does neither. :-)

-- 
Anton Vorontsov
Email: cbouatmailru@gmail.com
```
