HomeFreeBSD

sched: split sched_ap_entry() out of sched_throw()

Description

sched: split sched_ap_entry() out of sched_throw()

sched_throw() can no longer take a NULL thread, APs enter through
sched_ap_entry() instead. This completely removes branching in the
common case and cleans up both paths. No functional change intended.

Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D32829

Details

Provenance
kevansAuthored on Nov 4 2021, 12:09 AM
Reviewer
kib
Differential Revision
D32829: sched: spit sched_ap_entry() out of sched_throw()
Parents
R10:15d4459cb2d3: scsi.4: Document serial numbers
Branches
Unknown
Tags
Unknown