diff options
author | avg <avg@FreeBSD.org> | 2010-09-30 17:05:23 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-09-30 17:05:23 +0000 |
commit | eca696eeba3626081774117ce5b9d924281c15e2 (patch) | |
tree | 75affb3e2ec0dd8c1da7f724afb6bcd53ff06d3d /sys/pci/if_rl.c | |
parent | 1f20beb47f6f8b94b4b99fe9718b2c311e8f9155 (diff) | |
download | FreeBSD-src-eca696eeba3626081774117ce5b9d924281c15e2.zip FreeBSD-src-eca696eeba3626081774117ce5b9d924281c15e2.tar.gz |
there must be only one SYSINIT with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order
SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY should only be used to call
scheduler() function which turns the initial thread into swapper proper
and thus there is no further SYSINIT processing.
Other SYSINITs with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY may get ordered
after scheduler() and thus never executed. That particular relative
order is semi-arbitrary.
Thus, change such places to use SI_ORDER_MIDDLE.
Also, use SI_ORDER_MIDDLE instead of correct, but less appealing,
SI_ORDER_ANY - 1.
MFC after: 1 week
Diffstat (limited to 'sys/pci/if_rl.c')
0 files changed, 0 insertions, 0 deletions