On Sat, Jun 24, 2000 at 11:17:38PM +0400, Ivan Kokshaysky wrote:
> 1. __cacheline_aligned isn't enough for ev6, because L1_CACHE_BYTES
> for some reasons defined as 32 for all alphas, though it is 64 on ev6
As you can see from the comment in asm-alpha/cache.h, something
broke in networking when this was increased to 64. Someone ought
to investigate this...
> 2. proper place for such fixes is asm/spinlock.h
No it's not. We only want to force alignment on global varaiables.
Putting the alignment on the spinlock wastes *lots* of space when
spinlocks are put into structures. Consider such infrequently used
items as inodes and sockets.
r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:05 EST