On Sat, Jun 24, 2000 at 10:34:33PM +0200, Manfred Spraul wrote:
> __cacheline_aligned for these variables is IMHO architecture specific, and
> doesn't belong into kernel/sched.c.
I disagree. There is no concevable method of implementing a spinlock
on any architecture that wouldn't result in ping-ponging that cache line
across the processors. What is archtecture specfic is whether that
ping-ponging can result in no progress for either processor -- Alpha,
PPC, and MIPS all suffer from this.
That said, a DECLARE_SPINLOCK is a good idea anyway.
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