diff options
| author | Christian Loehle <christian.loehle@arm.com> | 2026-09-03 12:13:28 +0100 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2026-10-11 19:35:54 -0500 |
| commit | c5064ac266508ce946b0a905bdf87652ac083f17 (patch) | |
| tree | 05c4d61321b6dfd698fc38f68506c6723554965b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4ac21f3fac3e8584fd395c59044a8e99ac618572 (diff) | |
mailbox: pcc: Serialize channel updates with shared memory teardown
mbox_free_channel() makes a PCC channel available before the subsequent
shared-memory unmap. Without serialization, a concurrent request can bind a
new client and replace the mapping, which the old release then unmaps.
Serialize PCC channel acquisition and release. Keep the channel unavailable
until the old shared-memory mapping has been removed.
Suggested-by: Sudeep Holla <sudeep.holla@kernel.org>
Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
