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

- From: Richard Weinberger \<richard@nod.at\>
- Date: 2012-04-23 14:58:21 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/04/3853754
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/04/3853515/t.md

```text
On 23.04.2012 09:09, Anton Vorontsov wrote:
> Traversing the tasks requires holding tasklist_lock, otherwise it
> is unsafe.
>
> p.s. However, I'm not sure that calling os_kill_ptraced_process()
> in the atomic context is correct. It seem to work, but please
> take a closer look.
>
> Signed-off-by: Anton Vorontsov<redacted>
> ---

You forgot my Ack and I've already explained why os_kill_ptraced_process() is fine.

Thanks,
//richard
```
