Thread (6 messages) flat view 6 messages, 3 authors, 2012-01-11

Re: [PATCHv2] bond_alb: don't disable softirq under bond_alb_xmit

From: Andy Gospodarek <hidden>
Date: 2012-01-10 18:10:12

On Mon, Jan 09, 2012 at 07:09:32PM -0800, Maxim Uvarov wrote:
On 01/09/2012 02:20 PM, Andy Gospodarek wrote:
quoted
On Mon, Jan 09, 2012 at 02:01:37PM -0800, Maxim Uvarov wrote:
quoted
No need to lock soft irqs under bond_alb_xmit()
which already has softirq disabled.

Changes:
1. add non-bh/bh version to tlb_clear_slave()

2. represent BH and non BH hash table locks
_lock_rx_hashtbl_bh/_unlock_rx_hashtbl_bh
_lock_rx_hashtbl/_unlock_rx_hashtbl
_lock_tx_hashtbl_bh/_unlock_tx_hashtbl_bh
_lock_tx_hashtbl/_unlock_tx_hashtbl

Signed-off-by: Maxim Uvarov<redacted>
Signed-off-by: Cong Wang<redacted>
---
 drivers/net/bonding/bond_alb.c |  112 +++++++++++++++++++++++++++-------------
 1 files changed, 76 insertions(+), 36 deletions(-)
Did you test this with CONFIG_DEBUG_LOCKDEP=y at all?
Just did some simple tests on bond0 with LOCKDEP. Do not see any warnings.
OK, I will test it today and let you know how it looks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help