Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2005 15:58:28 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        amd64@FreeBSD.org
Cc:        peter@FreeBSD.org
Subject:   [PATCH] Change atomic operations to use fences for memory barriers
Message-ID:  <200502041558.28521.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502041558.28521.jhb>