• Linas Vepstas's avatar
    [PATCH] powerpc/cell spidernet refine locking · 9cc7bf7e
    Linas Vepstas authored
    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: default avatarLinas Vepstas <linas@austin.ibm.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: James K Lewis <jklewis@us.ibm.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    9cc7bf7e
spider_net.c 61.8 KB