aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bust_spinlocks.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-07-09 15:33:36 -0700
committerJeff Garzik <jeff@garzik.org>2007-07-10 12:22:29 -0400
commit5c11ce700f77fada15b6264417d72462da4bbb1c (patch)
treedef8f016cf2003c010c1ce31bc7e5df5b6ebf270 /lib/bust_spinlocks.c
parent3cf267539f1f133eb6ba63d074da18cb58cdf89a (diff)
downloadkernel_samsung_aries-5c11ce700f77fada15b6264417d72462da4bbb1c.zip
kernel_samsung_aries-5c11ce700f77fada15b6264417d72462da4bbb1c.tar.gz
kernel_samsung_aries-5c11ce700f77fada15b6264417d72462da4bbb1c.tar.bz2
sky2: check for more work before leaving NAPI
This patch avoids generating another IRQ if more packets arrive while in the NAPI poll routine. Before marking device as finished, it rechecks that the status ring is empty. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'lib/bust_spinlocks.c')
0 files changed, 0 insertions, 0 deletions