Skip to contentSkip to conversation

sky2: Resolve sky2_down/transmit races, lockless transmit

PATCH In review Mike McCormack 2 participants 2 messages Aug 3, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover sky2: Resolve sky2_down/transmit races, lockless transmit

Hi Stephen,

Here is an alternate (and more intrusive) patch set to solve the transmit during restart issues.

These patches avoid introducing a new state variable by

* reworking the transmit queue to work without locks
* tweaking sky2_down() to avoid invalid tx queue positions being received in the status queue

Please let me know if this looks better,

thanks,

Mike

#1 lore raw
Quoted 5 lines · On Mon, 3 Aug 2009 20:07:49 +0900 Mike McCormack <[email protected]> wrote:

Hi Stephen,

Here is an alternate (and more intrusive) patch set to solve the transmit during restart issues.

Quoted 7 lines

These patches avoid introducing a new state variable by

* reworking the transmit queue to work without locks
* tweaking sky2_down() to avoid invalid tx queue positions being received in the status queue

Please let me know if this looks better,

Looks good, I will checkout on a couple of (older) boards as well.