> The staged virtio-snd capture path needs to sample stop_threshold from > completion context to distinguish free-running capture from bounded > capture. Software parameters can update this field while capture runs. > > Mark the runtime stop-threshold assignments with WRITE_ONCE and the proc > status read with READ_ONCE. This pairs the assignments with the driver's > READ_ONCE policy sampling in the following patch. > > These annotations do not provide a transaction for the entire sw_params > update. The driver serializes its cached policy and accounting with its > own substream lock. > > Assisted-by: LLM > Signed-off-by: Joonho Lee <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=1
