[PATCH 2/6] Convert balance-rr transmit to new locking

2007-10-17 Thread Jay Vosburgh
Change locking in balance-rr transmit processing to use a free running counter to determine which slave to transmit on. Instead, a free-running counter is maintained, and modulo arithmetic used to select a slave for transmit. This removes lock operations from the TX path, and elim

[PATCH 2/6] Convert balance-rr transmit to new locking

2007-10-10 Thread Jay Vosburgh
Change locking in balance-rr transmit processing to use a free running counter to determine which slave to transmit on. Instead, a free-running counter is maintained, and modulo arithmetic used to select a slave for transmit. This removes lock operations from the TX path, and elim