Re: Re : 2.4.0-test2 doesn't compile

Manfred Spraul (manfred@colorfullife.com)
Sat, 24 Jun 2000 22:34:33 +0200


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/