summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2026-09-11 09:39:07 -0700
committerLizhi Hou <lizhi.hou@amd.com>2026-09-17 09:04:48 -0700
commit5eee433b5c97821979e7de58476dc245ee168d89 (patch)
treec2e2a278f24b0faa102c1cdc68cb5be009603174 /tools/perf/scripts/python
parent217da5aaf95e7c5a73b314095b709c40525c6b46 (diff)
downloadlinux-5eee433b5c97821979e7de58476dc245ee168d89.tar.gz
linux-5eee433b5c97821979e7de58476dc245ee168d89.zip
accel/amdxdna: Fully initialize map structure before registering notifier
The map structure is currently only partially initialized when the notifier is registered. Although holding mmap_write_lock() prevents the notifier callback from running before the remaining initialization is complete, the ordering can be confusing during code review. Fully initialize the map structure before registering the notifier so that the structure is completely constructed before it is published. Reviewed-by: Max Zhen <max.zhen@amd.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260911163907.1193852-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions