HomeFreeBSD

sched_4bsd: Remove RQ_PPQ from ESTCPULIM()'s formula

Description

sched_4bsd: Remove RQ_PPQ from ESTCPULIM()'s formula

Substracting RQ_PPQ to the maximum number of allowed priority values
(the factor to INVERSE_ESTCPU_WEIGHT) has the effect of pessimizing the
number of processes assigned to the last priority bucket.

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

Details

Provenance
olceAuthored on May 21 2024, 12:26 PM
Differential Revision
D45392: sched_4bsd: Rework ESTCPULIM() computation
Parents
rGa454ff6b0440: sched_4bsd: Move ESTCPULIM() after its macro dependencies
Branches
Unknown
Tags
Unknown