In the Linux kernel, the following vulnerability has been resolved: dcache: report a Tasks-RCU quiescent state in dentry_kill() I am constantly seeing the following warning on Meta's fleet: INFO: rcu_tasks detected stalls on tasks: native_queued_spin_lock_slowpath locked_inode_to_wb_and_lock_list inode_io_list_del evict __dentry_kill shrink_dentry_list shrink_dcache_tree d_invalidate btrfs_delete_subvolume btrfs_ioctl_snap_destroy btrfs_ioctl do_syscall_64 dentry_kill() is the common funnel for dentry teardown: dput(), shrink_dentry_list() and shrink_dcache_tree() all reach it, once per dentry, and its cond_resched() is the only reschedule point on that path. cond_resched() is not an RCU-tasks quiescent state. Use cond_resched_tasks_rcu_qs() so the teardown reports an RCU-tasks quiescent state as it proceeds.
https://git.kernel.org/stable/c/e8bcf91b79298ba1d30da616b70cb1c1fcc7b2e7
https://git.kernel.org/stable/c/d317dcc35da37259653d8082d48e9e1c49956668
https://git.kernel.org/stable/c/c3a52ae8d5c2d64616e57baeb9cc92c619bb161b
https://git.kernel.org/stable/c/a7c82e4ded7a8db5812275d33338c4b60837ae39
https://git.kernel.org/stable/c/a647a53bc89a046bee4a12a0a5627f2dfaaef807
https://git.kernel.org/stable/c/918b90d2cda7c81ae4c5e47ee1e2d24fce8914ce
https://git.kernel.org/stable/c/4914663dc5abfb3205ddf43586e7aeed08408be3
https://git.kernel.org/stable/c/07d54cfeba41db246bf72642fc8516aa5f265c0e