summaryrefslogtreecommitdiff
path: root/drivers/iio/iio_core_trigger.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-04-22 15:09:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-04-22 15:09:01 -0700
commit2e68039281932e6dc37718a1ea7cbb8e2cda42e6 (patch)
tree55109774591575a0695ad234d4668f34debed8ed /drivers/iio/iio_core_trigger.h
parent66a7974a395fe0ab8fb9f6acd013343bc6bad83a (diff)
parent07004a8c4b572171934390148ee48c4175c77eed (diff)
downloadlwn-master.tar.gz
lwn-master.zip
Merge tag 'tracefs-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-traceHEADmaster
Pull tracefs fixes from Steven Rostedt: - Use list_add_tail_rcu() for walking eventfs children The linked list of children is protected by SRCU and list walkers can walk the list with only using SRCU. Using just list_add_tail() on weakly ordered architectures can cause issues. Instead use list_add_tail_rcu(). - Hold eventfs_mutex and SRCU for remount walk events The trace_apply_options() walks the tracefs_inodes where some are eventfs inodes and eventfs_remount() is called which in turn calls eventfs_set_attr(). This walk only holds normal RCU read locks, but the eventfs_mutex and SRCU should be held. Add a eventfs_remount_(un)lock() helpers to take the necessary locks before iterating the list. * tag 'tracefs-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: eventfs: Hold eventfs_mutex and SRCU when remount walks events eventfs: Use list_add_tail_rcu() for SRCU-protected children list
Diffstat (limited to 'drivers/iio/iio_core_trigger.h')
0 files changed, 0 insertions, 0 deletions