Skip to content

Commit

Permalink
[PATCH] mv643xx_eth: Hold spinlocks only where needed
Browse files Browse the repository at this point in the history
This driver has historically held a spin_lock during the entire open
and stop functions and while receiving multiple packets.  This is
unecessarily long and holds locks during calls that may sleep.
This patch reduces the size of windows where locks are held.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>

 mv643xx_eth.c |  172 ++++++++++++++++++++++++++++++----------------------------
 1 file changed, 91 insertions(+), 81 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Dale Farnsworth authored and Jeff Garzik committed Jan 17, 2006
1 parent dd09b1d commit 8f51870
Showing 1 changed file with 90 additions and 80 deletions.
Loading

0 comments on commit 8f51870

Please sign in to comment.