It seems to me that, on some low level, a sane SMP system board will
serialize access to the PCI bus, making the spinlock unnecessary when
you are doing simple things like reading a statistics register, or
performing some operations like updating Tx descriptors on one CPU while
updating Rx descriptors on another CPU.
So, bearing in mind hardware register access rules, is it possible to
relax the "hardware lock covers all hardware accesses" type spinlocking,
and let the PCI bus/mobo perform the requisite serialization.
Thanks for any enlightenment,
Jeff
-- Jeff Garzik | Nothing cures insomnia like the Building 1024 | realization that it's time to get up. MandrakeSoft, Inc. | -- random fortune- 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/