bonding workqueue and lock rework
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Convert bonding timers to workqueuesdrivers/ drivers/ drivers/ +4 more | +117 | 5 replies | |
| 2/6 | Convert balance-rr transmit to new lockingdrivers/ drivers/ | +13 | 0 replies | |
| 3/6 | Convert miimon to new lockingdrivers/ | +51 | 0 replies | |
| 4/6 | Convert locks to _bh, rework alb locking for new lockingdrivers/ drivers/ | +117 | 0 replies | |
| 5/6 | Convert more locks to _bh, acquire rtnl, for new lockingdrivers/ drivers/ drivers/ | +29 | 0 replies | |
| 6/6 | Acquire correct locks in alb for promisc changedrivers/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] bonding workqueue and lock rework
Following are patches to update the locking used in the bonding
driver. This involves two basic changes: conversion from timers to workqueues for the various periodic monitor functions, and conversion of locking. These patches should resolve the majority of locking and might sleep related warnings that occur during certain operations.
The workqueue conversion is fairly straightforward, and
substitutes workqueue driven events for the existing timer driven events.
The locking changes are of two types: first, changes to resolve
deadlocks created by the conversion to workqueues, and second, changes to make the locking more correct, which generally involves holding RTNL and no other locks during specific operations. Some of the RTNL-related changes are fairly extensive, and involve either conditional locking or releasing and reacquiring locks in order to obey lock ordering constraints.
These changes were developed and extensively tested by Andy
Gospodarek <[email protected]> and myself over the last few months.
Patches are relative to netdev-2.6#upstream. -J
---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]