Date: Tue, 25 Jul 2006 17:13:12 +0200 From: "Attilio Rao" <attilio@freebsd.org> To: freebsd-arch@freebsd.org Subject: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs Message-ID: <3bbf2fe10607250813w8ff9e34pc505bf290e71758@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10607250813w8ff9e34pc505bf290e71758>