lkml.org 
[lkml]   [2012]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 00/10] jump label: introduce very_[un]likely + cleanups + docs
    On 02/22/2012 12:18 AM, Ingo Molnar wrote:
    >
    > For example could you tell *at a glance* what this does:
    >
    > + if (!static_branch_def_false(&perf_sched_events.key))
    >
    > ?

    Yes. Unlike

    > + if (very_unlikely(&perf_sched_events.key))

    ... which is actively misleading.

    -hpa

    --
    H. Peter Anvin, Intel Open Source Technology Center
    I work for Intel. I don't speak on their behalf.



    \
     
     \ /
      Last update: 2012-02-22 16:13    [W:0.017 / U:49.076 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site