diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-28 08:07:23 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-28 08:07:23 +0900 |
| commit | 2b69c5fe9eb319058a9b6767ebee4a4b0e8054bb (patch) | |
| tree | df570ef53479566122c7559f6aac7199dbdc34a2 /tools/lib/python | |
| parent | c94caec799b7173bfa2eef0f4cac01872d6d62ba (diff) | |
firewire: cdev: use atomic_t for iso_resource_auto todo member
The transition state of an iso_resource_auto client resource has no
effect on the client, so the client-level lock is not suitable for
protecting it.
At present, this state is the only member that requires mutual
exclusion. Adding a separate lock for it would be excessive.
Change the type of the transition state to atomic_t and use an atomic
compare-and-swap operation to preserve consistency.
Link: https://lore.kernel.org/r/20260927230724.119305-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
