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

From
Anton Vorontsov <hidden>
Date
2012-03-24 16:44:41
Also in
linux-arm-kernel, linux-mm, linux-sh, linux-um, lkml
Reply to
Peter Zijlstra, 2012-03-24
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:
quoted
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
Thread (27 messages) 27 messages, 6 authors, last reply 2012-03-28
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