diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2026-03-06 17:22:36 -0600 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-03-24 15:49:32 +0000 |
| commit | 6ace866cf6d2c5db3bcc8a0d55dcb2d705f2e7f8 (patch) | |
| tree | 9683526ba6999ca86da5114e784dbd45db7d259b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 52f088a2e6bfae6d30eea274738e82898c246bd6 (diff) | |
wifi: mt76: mt7925: switch link STA allocation to RCU lifetime
Allocate mt792x_link_sta with kzalloc() and free it with kfree_rcu()
instead of devm-managed memory.
msta->link[] is published via RCU, so the link STA must remain valid
until readers have quiesced after teardown. Manage the object lifetime
with kfree_rcu() to match its RCU-visible publication.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Link: https://patch.msgid.link/20260306232238.2039675-18-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
