summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2013-07-24 09:45:31 +0000
committeravg <avg@FreeBSD.org>2013-07-24 09:45:31 +0000
commit9e6374b6a9ee35bc4eb4e1d73c4942b4b2391e57 (patch)
tree86485591661a4e2aaffdc78caab463f4b4f101f9 /tools
parent0a4136d3530f88ddcec3af09ad403f557fba393b (diff)
downloadFreeBSD-src-9e6374b6a9ee35bc4eb4e1d73c4942b4b2391e57.zip
FreeBSD-src-9e6374b6a9ee35bc4eb4e1d73c4942b4b2391e57.tar.gz
rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST
Also directly call swapper() at the end of mi_startup instead of relying on swapper being the last thing in sysinits order. Rationale: - "RUN_SCHEDULER" was misleading, scheduling already takes place at that stage - "scheduler" was misleading, the function swaps in the swapped out processes - another SYSINIT(SI_SUB_RUN_SCHEDULER, SI_ORDER_ANY) could never be invoked depending on its relative order with scheduler; this was not obvious and the bug actually used to exist Reviewed by: kib (ealier version) MFC after: 14 days
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud