[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180105.111524.2107286856427016575.davem@davemloft.net>
Date: Fri, 05 Jan 2018 11:15:24 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: soheil.kdev@...il.com
Cc: netdev@...r.kernel.org, pjt@...gle.com, ycheng@...gle.com,
soheil@...gle.com, willemb@...gle.com, edumazet@...gle.com,
ncardwell@...gle.com
Subject: Re: [PATCH net-next 1/2] ip: do not set RFS core on error queue
reads
From: Soheil Hassas Yeganeh <soheil.kdev@...il.com>
Date: Wed, 3 Jan 2018 21:47:10 -0500
> From: Soheil Hassas Yeganeh <soheil@...gle.com>
>
> We should only record RPS on normal reads and writes.
> In single threaded processes, all calls record the same state. In
> multi-threaded processes where a separate thread processes
> errors, the RFS table mispredicts.
>
> Note that, when CONFIG_RPS is disabled, sock_rps_record_flow
> is a noop and no branch is added as a result of this patch.
>
> Signed-off-by: Soheil Hassas Yeganeh <soheil@...gle.com>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Neal Cardwell <ncardwell@...gle.com>
Applied.
Powered by blists - more mailing lists