diff options
author | Eric Dumazet <edumazet@google.com> | 2016-12-07 19:05:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-08 19:30:22 +0100 |
commit | 3665f3817cd354ab7a811b3a4f282c4f5cb1a0d0 (patch) | |
tree | bfa286eca8f2807aa35c241507e05955884379b2 /Documentation/ide | |
parent | udp: under rx pressure, try to condense skbs (diff) | |
download | linux-3665f3817cd354ab7a811b3a4f282c4f5cb1a0d0.tar.xz linux-3665f3817cd354ab7a811b3a4f282c4f5cb1a0d0.zip |
net: do not read sk_drops if application does not care
sk_drops can be an often written field, do not read it unless
application showed interest.
Note that sk_drops can be read via inet_diag, so applications
can avoid getting this info from every received packet.
In the future, 'reading' sk_drops might require folding per node or per
cpu fields, and thus become even more expensive than today.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ide')
0 files changed, 0 insertions, 0 deletions