Re: [PATCH v3 1/2] sched/fair: Introduce short duration task check
From: Josh Don
Date: Mon Dec 12 2022 - 13:19:12 EST
> BTW, I've changed the threshold to (sysctl_sched_min_granularity / 8) in my next
> version, as this is the value that fit my previous test case and also not to break
> the case Josh mentioned.
Do you mean a hardcoded value of some number of micros, or literally
sched_min_granularity / 8? I don't think the latter is necessary, and
indeed can lead to weirdness if min_gran is too small or too large. I
don't think the concept of what a short duration task is should
expand/contract with min_gran.
Best,
Josh