diff options
| author | Baokun Li <libaokun@linux.alibaba.com> | 2026-05-21 12:50:15 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-22 13:06:35 +0300 |
| commit | e90a6d668e26e00a72df2d09c173b563468f09c9 (patch) | |
| tree | d28269a1ce82a20b950b3d9febcb16d62c16141d /scripts/Makefile.thinlto | |
| parent | cba38ec4cbd3a7b8b942a8d52531a05be8a9ff0d (diff) | |
| download | linux-e90a6d668e26e00a72df2d09c173b563468f09c9.tar.xz | |
writeback: drop now-unnecessary rcu_barrier() in cgroup_writeback_umount()
Commit e1b849cfa6b6 ("writeback: Avoid contention on wb->list_lock when
switching inodes") replaced the queue_rcu_work() based scheduling of
inode wb switches with a plain queue_work(). Since then no switcher
goes through call_rcu(), so rcu_barrier() in cgroup_writeback_umount()
has no callbacks of its own to wait for. It still drains unrelated
call_rcu() callbacks from other subsystems on busy systems, which
incidentally slows umount down; drop it.
Fixes: e1b849cfa6b6 ("writeback: Avoid contention on wb->list_lock when switching inodes")
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Baokun Li <libaokun@linux.alibaba.com>
Link: https://patch.msgid.link/20260521095016.2791354-3-libaokun@linux.alibaba.com
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
