aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2024-11-14 03:00:12 -0800
committerJakub Kicinski <[email protected]>2024-11-15 16:25:34 -0800
commit6c59f16f1770481a6ee684720ec55b1e38b3a4b2 (patch)
tree34a990262e956e5aabfeee929fb8ebec9df28689 /tools/perf/scripts/python/stackcollapse.py
parent221a9c1df790fa711d65daf5ba05d0addc279153 (diff)
net: netpoll: flush skb pool during cleanup
The netpoll subsystem maintains a pool of 32 pre-allocated SKBs per instance, but these SKBs are not freed when the netpoll user is brought down. This leads to memory waste as these buffers remain allocated but unused. Add skb_pool_flush() to properly clean up these SKBs when netconsole is terminated, improving memory efficiency. Signed-off-by: Breno Leitao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions