[PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs

Maxim Sobolev sobomax at FreeBSD.org
Thu Jan 18 22:28:40 UTC 2007


Chuck Swiger wrote:

> Unfortunately, there are simply different tradeoffs between mechanisms 
> for copying depending on whether you want to use or avoid 
> using/thrashing the L1/L2 caches, whether the data is cache-aligned, and 
> so forth; the CPU can't infer what you want to occur-- you have to tell 
> it.  I find it interesting that some of the architectures (PA-RISC, 


Well, of course there are some special cases, but in general there 
should be some baseline suitable for most of uses. That's why we (and 
most other operating systems) only provide single version for the 
mem*(3) APIs.

-Maxim


More information about the freebsd-arch mailing list