summaryrefslogtreecommitdiff
path: root/drivers/platform/wmi/tests/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2026-05-05 00:20:19 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2026-06-05 00:34:56 -0400
commit3df5153c5f123d6018c82a24341ccd99c79d64a0 (patch)
tree3ebbf62a6f550305edc3d3e4aad33887d590db04 /drivers/platform/wmi/tests/git@git.tavy.me:linux.git
parent144bef84e1cfadfe100c6728593ea9838853f347 (diff)
make cursors NORCU
All it requires is making sure that d_walk() will skip *all* CURSOR dentries, even if somebody passes it one as an argument. Cursors are negative and unhashed all along, never get added to LRU or to shrink lists and no RCU references via ->d_sib are possible for those - dentry_unlist() makes sure that no killed dentry has ->d_sib.next left pointing to a cursor. Seeing that a cursor is allocated every time we open a directory on autofs, debugfs, devpts, etc., avoiding an RCU delay when such opened files get closed is attractive... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions