Roland McGrath wrote:
> tasklist_lock isn't needed for that, RCU is fine.  
> (This is not a recent change.)
>
> But, modules aren't allowed to use put_task_struct, so get_task_struct is
> not a real plan at all.
>
>   


>   
> For other cases where you are considering holding a task_struct pointer for
> something, let's discuss each on a case by case basis.
>   

Much appreciated,
cm

>
> Thanks,
> Roland
>
>   

-- 
Chris Moller

  I know that you believe you understand what you think I said, but
  I'm not sure you realize that what you heard is not what I meant.
      -- Robert McCloskey


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to