summaryrefslogtreecommitdiffstats
path: root/fs/autofs
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2020-02-03 17:34:39 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-02-04 03:05:24 +0000
commit0d97a82ba830d89a1e541cc9cd11f1e38c28e416 (patch)
treec1b3744d565e32553c64dd6d6fba604b14afeba6 /fs/autofs
parentc5b2cbdbdac563f46ecd5e187253ab1abbd6fc04 (diff)
downloadlinux-0d97a82ba830d89a1e541cc9cd11f1e38c28e416.tar.gz
linux-0d97a82ba830d89a1e541cc9cd11f1e38c28e416.tar.bz2
linux-0d97a82ba830d89a1e541cc9cd11f1e38c28e416.zip
ipc/msg.c: update and document memory barriers
Transfer findings from ipc/mqueue.c: - A control barrier was missing for the lockless receive case So in theory, not yet initialized data may have been copied to user space - obviously only for architectures where control barriers are not NOP. - use smp_store_release(). In theory, the refount may have been decreased to 0 already when wake_q_add() tries to get a reference. Link: http://lkml.kernel.org/r/20191020123305.14715-5-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: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs')
0 files changed, 0 insertions, 0 deletions