[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191226.153558.876242092356247020.davem@davemloft.net>
Date: Thu, 26 Dec 2019 15:35:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, soheil@...gle.com,
ncardwell@...gle.com
Subject: Re: [PATCH net] net_sched: sch_fq: properly set
sk->sk_pacing_status
From: Eric Dumazet <edumazet@...gle.com>
Date: Mon, 23 Dec 2019 11:13:24 -0800
> If fq_classify() recycles a struct fq_flow because
> a socket structure has been reallocated, we do not
> set sk->sk_pacing_status immediately, but later if the
> flow becomes detached.
>
> This means that any flow requiring pacing (BBR, or SO_MAX_PACING_RATE)
> might fallback to TCP internal pacing, which requires a per-socket
> high resolution timer, and therefore more cpu cycles.
>
> Fixes: 218af599fa63 ("tcp: internal implementation for pacing")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists