April 7, 2020
1:41 a.m.
On Thu, 2020-04-02 at 22:10 -0400, Evan T Mesterhazy wrote:
Here's the code for calculating an individual process's slice. It looks like the weighting formula is used here regardless of whether the period has been expanded. If that's the case, doesn't that mean that some processes will still get a slice that's smaller than the min_granularity?
That is exactly what will happen. You figured out what the code does. Generally this behavior is not a real problem, since people expect low priority tasks to run slower. -- All Rights Reversed.