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
F154346010: D38183.id115560.diff
Tue, Apr 28, 12:07 AM
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
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