diff options
author | Soheil Hassas Yeganeh <soheil@google.com> | 2018-01-04 03:47:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-05 17:14:56 +0100 |
commit | e3f2c4a3db1413bebfd502f7ac94fb55e3ba8c84 (patch) | |
tree | f2aede6896cc108e16f9bc785c13d3261d0c1800 /net/ipv4/udp.c | |
parent | Merge branch 'l2tp-remove-configurable-offset-parameters' (diff) | |
download | linux-e3f2c4a3db1413bebfd502f7ac94fb55e3ba8c84.tar.xz linux-e3f2c4a3db1413bebfd502f7ac94fb55e3ba8c84.zip |
ip: do not set RFS core on error queue reads
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@google.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions