Re: [PATCH v45 7/7] wrap pchan->chan_in_use in READ/WRITE_ONCE
From: Adam Young
Date: Wed Jul 22 2026 - 14:59:09 EST
On 7/22/26 04:50, Sudeep Holla wrote:
On Tue, Jul 21, 2026 at 01:52:56PM -0400, Adam Young wrote:Excellent. I will add a tested-by.
read/write happening from both userspace and Hard IRQ contextWith much better description [1]
chan_in_use is used a flag to sychronize access. Volitile
semantics ensure we don't have a reordering that accidentally
provide dual access.