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)
Mon, Oct 20, 12:30 AM
Unknown Object (File)
Sun, Oct 19, 2:05 AM
Unknown Object (File)
Mon, Oct 13, 10:33 PM
Unknown Object (File)
Sun, Oct 12, 8:28 PM
Unknown Object (File)
Sun, Oct 12, 8:28 PM
Unknown Object (File)
Sun, Oct 12, 8:52 AM
Unknown Object (File)
Tue, Oct 7, 4:33 PM
Unknown Object (File)
Mon, Oct 6, 12:13 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