commit | 760559e1330a58cc5b320154a20e64b8444143c0 | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jgarzik@pobox.com> | Thu Nov 10 04:31:55 2005 -0500 |
committer | Jeff Garzik <jgarzik@pobox.com> | Thu Nov 10 04:31:55 2005 -0500 |
tree | 46bf5b8d3b78f2ff57fd728026e597844b149efb | |
parent | 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc [diff] |
[netdrvr 8139too] fast poll for thread, if an unlikely race occurs 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.