> 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.
Hmm, agreed. But not aligned standalone spinlock is a bad thing too.
For example various locks may be placed dangerously close to each other
at the link stage.
Ivan.
-
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/