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:
read/write happening from both userspace and Hard IRQ context
chan_in_use is used a flag to sychronize access. Volitile
semantics ensure we don't have a reordering that accidentally
provide dual access.

With much better description [1]

Excellent.  I will add a tested-by.