aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorImran Khan <[email protected]>2022-06-15 02:10:57 +0000
committerGreg Kroah-Hartman <[email protected]>2022-06-27 14:46:15 +0000
commitb8f35fa1188b84035c59d4842826c4e93a1b1c9f (patch)
tree3c7277dc358aeed06e9e1a5c217e7746a09f46ce /fs/kernfs/kernfs-internal.h
parentkernfs: make ->attr.open RCU protected. (diff)
downloadkernel-b8f35fa1188b84035c59d4842826c4e93a1b1c9f.tar.gz
kernel-b8f35fa1188b84035c59d4842826c4e93a1b1c9f.zip
kernfs: Change kernfs_notify_list to llist.
At present kernfs_notify_list is implemented as a singly linked list of kernfs_node(s), where last element points to itself and value of ->attr.next tells if node is present on the list or not. Both addition and deletion to list happen under kernfs_notify_lock. Change kernfs_notify_list to llist so that addition to list can heppen locklessly. Suggested by: Al Viro <[email protected]> Acked-by: Tejun Heo <[email protected]> Signed-off-by: Imran Khan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions