Files
scst/usr
Gleb Chesnokov 2f1ca0223f scst_user: Protect the shared debug freeze flag with its mutex
DEBUG_TM_IGNORE_ALL workers share a freeze flag without synchronization.
Manual review of the volatile warning confirmed that volatile does not
protect these concurrent accesses. Store and snapshot the flag under the
existing per-device mutex, then unlock before the intentional infinite
sleep. The mutex is initialized before worker creation and destroyed
after joins.

Checkpatch reports VOLATILE:

  Use of volatile is usually wrong: see
  Documentation/process/volatile-considered-harmful.rst
2026-10-21 22:12:25 +03:00
..