From: Jay Vosburgh Date: Thu, 18 Oct 2007 00:37:47 +0000 (-0700) Subject: bonding: Convert balance-rr transmit to new locking X-Git-Tag: v2.6.24-rc1~15^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf5f9044934658dd3ffc628a60cd37c70f8168b1;p=pandora-kernel.git bonding: Convert balance-rr transmit to new locking 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 eliminates a deadlock introduced by the conversion to work queues. Signed-off-by: Andy Gospodarek Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed