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.989 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site