aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-03-28 14:40:31 +0000
committerJakub Kicinski <[email protected]>2024-03-29 15:03:11 -0700
commit612b1c0dec5bc7367f90fc508448b8d0d7c05414 (patch)
tree113a28eef2410940aaedd927578f8fba2ac97720 /tools/perf/scripts/python/export-to-postgresql.py
parent6a1f12dd85a8b24f871dfcf467378660af9c064d (diff)
udp: avoid calling sock_def_readable() if possible
sock_def_readable() is quite expensive (particularly when ep_poll_callback() is in the picture). We must call sk->sk_data_ready() when : - receive queue was empty, or - SO_PEEK_OFF is enabled on the socket, or - sk->sk_data_ready is not sock_def_readable. We still need to call sk_wake_async(). Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Acked-by: Paolo Abeni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions