Re: [PATCH 6/6]: powerpc/cell spidernet refine locking
- From: Andrew Morton <akpm@xxxxxxxx>
- Date: Fri, 29 Sep 2006 19:47:52 -0700
On Fri, 29 Sep 2006 18:29:11 -0500
linas@xxxxxxxxxxxxxx (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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/6]: powerpc/cell spidernet ethernet patches
- From: Linas Vepstas
- [PATCH 6/6]: powerpc/cell spidernet refine locking
- From: Linas Vepstas
- [PATCH 0/6]: powerpc/cell spidernet ethernet patches
- Prev by Date: overnice Girls doing dear blowjjob!
- Next by Date: how stop sync on last close of removable medium?
- Previous by thread: [PATCH 6/6]: powerpc/cell spidernet refine locking
- Next by thread: Re: [PATCH 0/6]: powerpc/cell spidernet ethernet patches
- Index(es):
Relevant Pages
|
|