mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 00:34:33 -05:00
The fdc worker thread was using a one second timeout while waiting for a new bio to arrive or for the device to detach. However, the driver already does a wakeup when queueing a new bio or asking the thread to detach, so the timeout only served to waste CPU time waking up the thread once a second just so it could go right back to sleep. Use an infinite timeout instead. Discussed with: phk Sponsored by: Netflix |
||
|---|---|---|
| .. | ||
| fdc.c | ||
| fdc_acpi.c | ||
| fdc_cbus.c | ||
| fdc_isa.c | ||
| fdc_pccard.c | ||
| fdcvar.h | ||