From: Soheil Hassas Yeganeh <soheil.k...@gmail.com> Date: Wed, 3 Jan 2018 21:47:10 -0500
> From: Soheil Hassas Yeganeh <soh...@google.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 <soh...@google.com> > Signed-off-by: Willem de Bruijn <will...@google.com> > Signed-off-by: Eric Dumazet <eduma...@google.com> > Signed-off-by: Neal Cardwell <ncardw...@google.com> Applied.