HomeFreeBSD

sched: sched_switch(): Factorize sleepqueue flags

Description

sched: sched_switch(): Factorize sleepqueue flags

Avoid duplicating common flags for the preempted and non-preempted
cases, making it clear that they are the same without resorting to
formatting.

No functional change.

Approved by: markj (mentor)
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

Details

Provenance
olceAuthored on Jan 16 2024, 9:42 AM
Parents
rG849599e28a87: committers-src: Add bnovkov@ with markj@ and jhb@ as mentors
Branches
Unknown
Tags
Unknown