mirror of
https://github.com/opnsense/src.git
synced 2026-04-02 16:05:17 -04:00
- entirely eliminate some calls to uio_yeild() as being unnecessary, such as in a sysctl handler. - move should_yield() and maybe_yield() to kern_synch.c and move the prototypes from sys/uio.h to sys/proc.h - add a slightly more generic kern_yield() that can replace the functionality of uio_yield(). - replace source uses of uio_yield() with the functional equivalent, or in some cases do not change the thread priority when switching. - fix a logic inversion bug in vlrureclaim(), pointed out by bde@. - instead of using the per-cpu last switched ticks, use a per thread variable for should_yield(). With PREEMPTION, the only reasonable use of this is to determine if a lock has been held a long time and relinquish it. Without PREEMPTION, this is essentially the same as the per-cpu variable. |
||
|---|---|---|
| .. | ||
| 30line.h | ||
| cbus.h | ||
| cbus_dma.c | ||
| cbus_dmareg.h | ||
| fdc.c | ||
| fdc_cbus.c | ||
| fdcreg.h | ||
| fdcvar.h | ||
| gdc.c | ||
| nmi.c | ||
| olpt.c | ||
| olptreg.h | ||
| pckbd.c | ||
| pckbdtables.h | ||
| pcrtc.c | ||
| pmc.c | ||
| sc_machdep.h | ||
| scgdcrndr.c | ||
| scterm-sck.c | ||
| sctermvar.h | ||
| scvtb.c | ||
| sio.c | ||
| sio_cbus.c | ||
| syscons_cbus.c | ||