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

From
Anton Vorontsov <hidden>
Date
2012-04-23 15:41:47
Also in
linux-arm-kernel, linux-mm, linux-sh, linux-um, lkml
Reply to
Richard Weinberger, 2012-04-23
On Mon, Apr 23, 2012 at 04:57:54PM +0200, Richard Weinberger wrote:
On 23.04.2012 09:09, Anton Vorontsov wrote:
quoted
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.
Ouch, sorry!

-- 
Anton Vorontsov
Email: cbouatmailru@gmail.com
Thread (17 messages) 17 messages, 5 authors, last reply 2012-06-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help