[netdrvr 8139too] fast poll for thread, if an unlikely race occurs
authorJeff Garzik <jgarzik@pobox.com>
Thu, 10 Nov 2005 09:31:55 +0000 (04:31 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 10 Nov 2005 09:31:55 +0000 (04:31 -0500)
The rtl8139 thread is triggered only on rare 8139 hardware, the race
itself is unlikely, and the impact of racing is low.  We don't care
enough to create a more-complex race-free solution.

Rather, if the trylock fails, we now simply poll twice a second until
we do get the lock.


No differences found