From: "Richard Henderson" <rth@twiddle.net>
>
> 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.
>
What about defining a DECLARE_SPINLOCK() macro similar to DECLARE_MUTEX()?
__cacheline_aligned for these variables is IMHO architecture specific, and
doesn't belong into kernel/sched.c.
-- Manfred- 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