[RFC]Something wrong with my module

harryxiyou harryxiyou at gmail.com
Thu Apr 12 10:08:08 EDT 2012


On Thu, Apr 12, 2012 at 10:04 PM, harryxiyou <harryxiyou at gmail.com> wrote:
> On Thu, Apr 12, 2012 at 9:59 PM, Frank Ch. Eigler <fche at 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



More information about the Kernelnewbies mailing list