Thread (2 messages) 2 messages, 2 authors, 2018-05-28

Re: [PATCH RT] seqlock: provide the same ordering semantics as mainline

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2018-05-28 15:31:01
Also in: lkml

On 2018-04-26 15:02:03 [-0500], Julia Cartwright wrote:
The mainline implementation of read_seqbegin() orders prior loads w.r.t.
the read-side critical section.  Fixup the RT writer-boosting
implementation to provide the same guarantee.

Also, while we're here, update the usage of ACCESS_ONCE() to use
READ_ONCE().
I'm taking this without the READ_ONCE hunk because ACCESS_ONCE is gone
since v4.15 and I had to move on in v4.16.
Fixes: e69f15cf77c23 ("seqlock: Prevent rt starvation")
Cc: stable-rt@vger.kernel.org
Signed-off-by: Julia Cartwright <redacted>
Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help