Page MenuHomeFreeBSD

sched_4bsd: use the same switch flags as ULE
ClosedPublic

Authored by mhorne on Jan 24 2023, 9:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 24, 4:17 PM
Unknown Object (File)
Wed, Apr 15, 10:37 PM
Unknown Object (File)
Wed, Apr 15, 10:28 PM
Unknown Object (File)
Wed, Apr 15, 7:35 PM
Unknown Object (File)
Wed, Apr 15, 8:43 AM
Unknown Object (File)
Sat, Apr 11, 11:48 PM
Unknown Object (File)
Tue, Apr 7, 3:41 AM
Unknown Object (File)
Mar 25 2026, 7:54 AM
Subscribers

Details

Summary

ULE uses the more specific SWT_REMOTEPREEMPT and SWT_REMOTEWAKEIDLE
switch types, let's do that here as well. SWT_PREEMPT is somewhat
redundant when we also have the SW_PREEMPT flag.

This only has an effect for kernels built with SCHED_STATS.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 49212
Build 46101: arc lint + arc unit