lkml.org 
[lkml]   [2011]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 0/3] v4 Improve task->comm locking situation
    From
    Date
    On Wed, 2011-05-18 at 12:16 +0900, Tetsuo Handa wrote:
    > What about replacing
    > char comm[TASK_COMM_LEN];
    > with
    > char *rcu_commname;
    > and switching it atomically using RCU?

    So I think this approach is definitely worth trying. However, I think
    converting to RCU will be much easier once we've first converted all
    current comm users to making use of the get_task_comm accessor
    functions. In this way my hope is my current proposal will serve as a
    cleanup step before further optimizations can be done.

    thanks
    -john




    \
     
     \ /
      Last update: 2011-05-18 06:17    [W:8.358 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site