[PATCH] Change atomic operations to use fences for memory
barriers
Scott Long
scottl at freebsd.org
Fri Feb 4 14:29:39 PST 2005
John Baldwin wrote:
> The patch below changes the atomic operations on amd64 to use the cheaper
> fence instructions for memory barriers. I'd like people to test it to see if
> 1) it breaks things or not, and 2) if it impacts performance either in a good
> way or a bad way. For this last I'm curious about both UP and SMP as my
> initial guess is that it will help on UP but might hurt on SMP.
>
I think you forgot the patch.
Scott
More information about the freebsd-amd64
mailing list