lkml.org 
[lkml]   [2010]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[RFC local_t removal V1 0/4] Remove local_t
    Current -next has only the trace subsystem left as a user of local_t

    Tracing uses local_t for per cpu safe atomic operations in the form
    of cmpxchg and additions. We already have a cmpxchg_local but no "local"
    form of addition.

    The patchset introduces a similar local primitive add_local() and then
    uses cmpxchg_local() and add_local() to remove local_t use from the
    trace subsystem.

    The last patch removes local_t support from the kernel tree.

    The support for add_local() is pretty basic. We can add more
    fancy inc/dec variants and more optimization in the next
    revision of the patchset.



    \
     
     \ /
      Last update: 2010-01-05 23:09    [W:0.030 / U:3.464 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site