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

(cherry picked from commit 51a4ae05abe6e170de0ff82641d8fce19043eea9)

Details

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