HomeFreeBSD

runq: Hide function prototypes under _KERNEL

Description

runq: Hide function prototypes under _KERNEL

And some structure definitions as well.

This header really is not supposed to be included by userland, so should
just error in this case. However, there is one remaining use for it in
a test: Getting the value of RQ_PPQ to ensure a big enough priority
level difference in order to guarantee that a realtime thread preempts
another. This use will soon be obsoleted by guaranteeing that
a realtime thread always preempts another one with lower priority, even
if the priority level is very close.

Reviewed by: kib
MFC after: 1 month
Event: Kitchener-Waterloo Hackathon 202506
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45387

Details

Provenance
olceAuthored on Mar 28 2024, 1:32 PM
Reviewer
kib
Differential Revision
D45387: runq: API rationalization, code factorization, revised implementation
Parents
rGc21c24adde98: runq: More selective includes of <sys/runq.h> to reduce pollution
Branches
Unknown
Tags
Unknown