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

From: Chuck Ebbert (76306.1226@compuserve.com)
Date: Tue Apr 22 2003 - 15:29:36 EST


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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:34 EST