Thread (16 messages) 16 messages, 3 authors, 1d ago

Re: [PATCH v45 7/7] wrap pchan->chan_in_use in READ/WRITE_ONCE

From: Sudeep Holla <sudeep.holla@kernel.org>
Date: 2026-07-22 08:50:56
Also in: lkml

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]

-- 
Regards,
Sudeep

[1] https://lore.kernel.org/all/20260717075649.467172-4-sudeep.holla@kernel.org (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help