Re: Fast 64-bit atomic writes (SSE?)

From: Roland Dreier
Date: Sat Mar 20 2004 - 09:50:53 EST


Andi> Better is probably to use CMPXCHG8, which avoids all of
Andi> this.

Sorry to follow up again so soon, but I just looked up CMPXCHG8, and I
don't see how to use it to write to write-only device memory. Can you
elaborate a little?

Thanks,
Roland
-
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/