diff options
author | 2022-06-15 12:10:57 +1000 | |
---|---|---|
committer | 2022-06-27 16:46:15 +0200 | |
commit | b8f35fa1188b84035c59d4842826c4e93a1b1c9f (patch) | |
tree | 3c7277dc358aeed06e9e1a5c217e7746a09f46ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kernfs: make ->attr.open RCU protected. (diff) | |
download | linux-dev-b8f35fa1188b84035c59d4842826c4e93a1b1c9f.tar.xz linux-dev-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 <viro@zeniv.linux.org.uk>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Imran Khan <imran.f.khan@oracle.com>
Link: https://lore.kernel.org/r/20220615021059.862643-3-imran.f.khan@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions