From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Mon, 5 Jun 2006 15:58:34 -0700
> Perhaps there is something simpler that could be done with a ring > model and some atomic primitives like cmpxchg()? cmpxchg() is something not available natively on many platforms, you can't even emulate it %100 properly on systems that just have some kind of test-and-set spinlock type primitive. You can synchronize the cmpxchg() itself using a spinlock on such platforms, but you cannot synchronize the accesses done by other processors which do not use cmpxchg(). So using cmpxchg() would block out such platforms from being able to use the tg3 driver any longer, which really isn't an option. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html