diff options
| author | 2026-04-09 11:50:15 +0800 | |
|---|---|---|
| committer | 2026-04-09 20:50:54 +0100 | |
| commit | 7d696210cf36ed31c7c37f6eff17cb7147e83367 (patch) | |
| tree | 2cec19e062225555b9aa3a6756a81fe1687a004b /tools/perf/scripts/python | |
| parent | regmap: Synchronize cache for the page selector (diff) | |
regmap: debugfs: fix race condition in dummy name allocation
Use IDA instead of a simple counter for generating unique dummy names.
The previous implementation used dummy_index++ which is not atomic,
leading to potential duplicate names when multiple threads call
regmap_debugfs_init() concurrently with name="dummy".
Signed-off-by: Zxyan Zhu <zxyan0222@gmail.com>
Link: https://patch.msgid.link/20260409035015.950764-1-zxyan0222@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
