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

2018-05-28 Thread Sebastian Andrzej Siewior
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_

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

2018-04-26 Thread Julia Cartwright
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(). Fixes: e69f15cf77c23 ("seqlock: Preven