lkml.org 
[lkml]   [2003]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][ANNOUNCE] Linux 2.5.68-ce2
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.016 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site