Re: [tip:perfcounters/urgent] x86: atomic64: Fix unclean type usein atomic64_xchg()

From: Linus Torvalds
Date: Fri Jul 03 2009 - 13:03:19 EST




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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/