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)
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)
Wed, Mar 25, 7:54 AM
Unknown Object (File)
Mar 15 2026, 1:40 PM
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 Not Applicable
Unit
Tests Not Applicable