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, Nov 10, 5:16 AM
Unknown Object (File)
Wed, Oct 29, 10:07 PM
Unknown Object (File)
Wed, Oct 29, 12:12 AM
Unknown Object (File)
Mon, Oct 20, 12:30 AM
Unknown Object (File)
Sun, Oct 19, 2:05 AM
Unknown Object (File)
Oct 13 2025, 10:33 PM
Unknown Object (File)
Oct 12 2025, 8:28 PM
Unknown Object (File)
Oct 12 2025, 8:28 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