summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2019-12-04 10:02:48 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2019-12-04 10:02:48 +1100
commite2cbe073b2429aedb4d8f0bc2f08527c13d37b52 (patch)
tree38a1b15a46ad74777d3cca79a8d0e9faf3633f05 /arch/arm64/boot/dts/renesas/r8a774c0.dtsi
parent1141749e1c7df4e706d669e29f764a407168db6e (diff)
downloadlinux-next-e2cbe073b2429aedb4d8f0bc2f08527c13d37b52.tar.gz
ipc/sem.c: document and update memory barriers
Document and update the memory barriers in ipc/sem.c: - Add smp_store_release() to wake_up_sem_queue_prepare() and document why it is needed. - Read q->status using READ_ONCE+smp_acquire__after_ctrl_dep(). as the pair for the barrier inside wake_up_sem_queue_prepare(). - Add comments to all barriers, and mention the rules in the block regarding locking. - Switch to using wake_q_add_safe(). Link: http://lkml.kernel.org/r/20191020123305.14715-6-manfred@colorfullife.com Signed-off-by: Manfred Spraul <manfred@colorfullife.com> Cc: Waiman Long <longman@redhat.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: <1vier1@web.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/r8a774c0.dtsi')
0 files changed, 0 insertions, 0 deletions