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
F102817809: D38183.id115560.diff
Sun, Nov 17, 2:10 PM
F102810496: D38183.diff
Sun, Nov 17, 12:00 PM
Unknown Object (File)
Wed, Nov 6, 9:13 PM
Unknown Object (File)
Oct 1 2024, 4:32 AM
Unknown Object (File)
Sep 29 2024, 7:20 PM
Unknown Object (File)
Sep 22 2024, 3:16 AM
Unknown Object (File)
Sep 18 2024, 10:16 AM
Unknown Object (File)
Sep 18 2024, 5:30 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