diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2006-01-16 18:56:30 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 07:23:38 -0500 |
commit | 8f5187035ad475c90ca865318daa09ba43bc3e68 (patch) | |
tree | 43b304d094d8fec20a2589239f56ff31bc4aa8d1 /fs/exportfs | |
parent | dd09b1de08b28ccfb130ca97d617dc3283165d22 (diff) |
[PATCH] mv643xx_eth: Hold spinlocks only where needed
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>
Diffstat (limited to 'fs/exportfs')
0 files changed, 0 insertions, 0 deletions