diff options
author | Eric Dumazet <edumazet@google.com> | 2025-01-14 20:55:28 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-15 19:17:04 -0800 |
commit | 8a2b61e9e87936649073e287242ccdcbfb636906 (patch) | |
tree | e73c82a41f6667a16c4994c55ba55604827c9caf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0734d7c3d93cdcb8a56ce914d3c661300f24434d (diff) |
net: no longer assume RTNL is held in flush_all_backlogs()
flush_all_backlogs() uses per-cpu and static data to hold its
temporary data, on the assumption it is called under RTNL
protection.
Following patch in the series will break this assumption.
Use instead a dynamically allocated piece of memory.
In the unlikely case the allocation fails,
use a boot-time allocated memory.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jesse Brandeburg <jbrandeburg@cloudflare.com>
Link: https://patch.msgid.link/20250114205531.967841-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions