lkml.org 
[lkml]   [2011]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 3/4] perf, x86: Use ALTERNATIVE() to check for X86_FEATURE_PERFCTR_CORE
    Date
    Robert Richter <robert.richter@amd.com> writes:

    > Using ALTERNATIVE() when checking for X86_FEATURE_PERFCTR_CORE avoids
    > an extra pointer chase and data cache hit.

    Is that really a performance critical path?

    Seems more like unnecessary obfuscation to me.

    -Andi


    --
    ak@linux.intel.com -- Speaking for myself only


    \
     
     \ /
      Last update: 2011-04-18 22:05    [W:0.028 / U:1.436 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site