From: Linas Vepstas Date: Tue, 10 Oct 2006 21:14:29 +0000 (-0500) Subject: [PATCH] powerpc/cell spidernet refine locking X-Git-Tag: v2.6.19-rc2~23^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cc7bf7edf50a8a6b456b337aff97fe780ae369b;p=pandora-kernel.git [PATCH] powerpc/cell spidernet refine locking 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. Signed-off-by: Linas Vepstas Cc: Arnd Bergmann Cc: James K Lewis Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed