Thread (19 messages) 19 messages, 3 authors, 2006-10-02

Re: [PATCH 6/6]: powerpc/cell spidernet refine locking

From: Andrew Morton <hidden>
Date: 2006-09-30 02:51:30
Also in: linuxppc-dev, lkml

On Fri, 29 Sep 2006 18:29:11 -0500
linas@austin.ibm.com (Linas Vepstas) wrote:
The transmit side of the spider ethernet driver currently
places locks around some very large chunks of code. This
results in a fair amount of lock contention is some cases. 
This patch makes the locks much more fine-grained, protecting
only the cirtical sections. One lock is used to protect 
three locations: the queue head and tail pointers, and the 
queue low-watermark location.
You have spider_net_set_low_watermark() walking the tx_chain outside
tx_chain.lock.  Are you sure about that?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help