Re: [PATCH] net/sched: fq_pie: clamp flow deficit after quantum changes
From: Eric Dumazet
Date: Mon Jun 08 2026 - 21:04:59 EST
On Mon, Jun 8, 2026 at 5:40 PM Samuel Moelius
<sam.moelius@xxxxxxxxxxxxxxx> wrote:
>
> fq_pie keeps active flow deficits when userspace changes the scheduler
> quantum. The next dequeue rounds can therefore spend credit that was
> accumulated under the previous quantum.
>
> This can be observed by making a flow active, changing the quantum, and
> then dequeuing with the old deficit still present.
>
> Clamp active flow deficits to the new quantum when the configured
> quantum changes.
>
> Assisted-by: Codex:gpt-5.5-cyber-preview
> Signed-off-by: Samuel Moelius <sam.moelius@xxxxxxxxxxxxxxx>
> ---
NACK.