lkml.org 
[lkml]   [2009]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [tip:perfcounters/urgent] x86: atomic64: Fix unclean type use in atomic64_xchg()


    On Fri, 3 Jul 2009, tip-bot for Ingo Molnar wrote:
    >
    > Fix atomic64_xchg() to use __atomic64_read() instead.

    Hmm. The whole __atomic64_read() thing should be dropped. Are there any
    users? None of them should be valid, as Eric's numbers showed. It's
    apparently better to start out with a random value rather than actually
    trying to read it.

    Linus


    \
     
     \ /
      Last update: 2009-10-18 23:28    [W:0.052 / U:32.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site