[PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
Attilio Rao
attilio at freebsd.org
Tue Jul 25 15:13:14 UTC 2006
Hi,
Intel documentation points out that having a 128-bytes aligned
syncronizing primitive (which fits in a cache line) will minimize the
traffic for cache bus, so this patch implements an alignment for i386
on turnstiles.
Any comments, feedbacks?
Attilio
PS: Using __aligned on MI code is usually a bad practice, but please
note that the case !__i386__ is not affected (as you can see in the
patch)
--
Peace can only be achieved by understanding - A. Einstein
More information about the freebsd-arch
mailing list