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/