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

From: Maxim Sobolev <sobomax_at_FreeBSD.org>
Date: Thu, 18 Jan 2007 14:28:14 -0800
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
Received on Thu Jan 18 2007 - 21:28:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC