Re: [PATCH][ANNOUNCE] Linux 2.5.68-ce2

Chuck Ebbert (76306.1226@compuserve.com)
Tue, 22 Apr 2003 16:29:36 -0400


Jvrn Engel wrote:

> How about the following?
>
> +#include <linux/cache.h>
> +#define CACHELINE_ALIGN .align L1_CACHE_BYTES,0x90
> ...
> - ALIGN
>+ CACHELINE_ALIGN
> ...
>
> Or was this a bad guess of what you wanted to do?

With 32-byte cachelines it woulf probably be too much wasted
space -- the handlers are only 10 bytes long at worst and some of
them are only 7 bytes. Maybe packing three of them per cacheline might
work better in that case?

-------
Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/