diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-09-11 09:39:07 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-09-17 09:04:48 -0700 |
| commit | 5eee433b5c97821979e7de58476dc245ee168d89 (patch) | |
| tree | c2e2a278f24b0faa102c1cdc68cb5be009603174 /tools/perf/scripts/python | |
| parent | 217da5aaf95e7c5a73b314095b709c40525c6b46 (diff) | |
| download | linux-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
