[PATCH 3/16] Spidernet RX Locking

Jeff Garzik jgarzik at pobox.com
Thu Dec 7 21:09:20 EST 2006


Linas Vepstas wrote:
> The RX packet handling can be called from several
> places, yet does not protect the rx ring structure.
> This patch places the ring buffer pointers under a lock.
> 
> Signed-off-by: Linas Vepstas <linas at austin.ibm.com>
> Cc: James K Lewis <jklewis at us.ibm.com>
> Cc: Arnd Bergmann <arnd at arndb.de>

This is a HUGELY invasive patch.  A sledgehammer.

What /specifically/ are these "several places", and what other 
non-sledgehammer approaches were discarded before arriving at this one?

	Jeff






More information about the Linuxppc-dev mailing list