Messages in this thread | | | From | Roland McGrath <> | Subject | Re: while_each_thread() under rcu_read_lock() is broken? | Date | Mon, 21 Jun 2010 12:02:12 -0700 (PDT) |
| |
> Paul, Roland, do you see any problems from the correctness pov, > or a better fix for now? > > Perhaps it also makes sense to keep the old variant renamed to > while_each_thread_locked(), I dunno.
Did we verify that only de_thread() can create the situation where a while_each_thread-style loop without either lock can be confused? If that's so, then just changing it to avoid the situation seems like it would be less invasive overall.
Thanks, Roland
| |