On Thu, Apr 12, 2012 at 10:04 PM, harryxiyou <harryxi...@gmail.com> wrote:
> On Thu, Apr 12, 2012 at 9:59 PM, Frank Ch. Eigler <f...@redhat.com> wrote:
>>
>> kristof wrote:
>>
>>> [...]
>>> You're iterating over the tasks list without locking it.
>>> [...]
>>> Try to take the tasklist_lock.
>>
>> Unfortunately, tasklist_lock is not SYMBOL_EXPORT*'d to modules.
>
> What about other ones? Do you have any other suggestions?

What about task_lock() ?



-- 
Thanks
Harry Wei

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to