[PATCH 7/9] um: Should hold tasklist_lock while traversing processes

Richard Weinberger richard at nod.at
Mon Apr 23 10:57:54 EDT 2012


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<anton.vorontsov at linaro.org>
> ---

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

Thanks,
//richard



More information about the linux-arm-kernel mailing list