memcg-flush-stats-non-atomically-in-mem_cgroup_wb_stats.patch removed from -mm tree
The quilt patch titled
Subject: memcg: flush stats non-atomically in mem_cgroup_wb_stats()
has been removed from the -mm tree. Its filename was
memcg-flush-stats-non-atomically-in-mem_cgroup_wb_stats.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Yosry Ahmed <[email protected]>
Subject: memcg: flush stats non-atomically in mem_cgroup_wb_stats()
Date: Fri, 21 Apr 2023 17:40:17 +0000
The previous patch moved the wb_over_bg_thresh()->mem_cgroup_wb_stats() code path in wb_writeback() outside the lock section. We no longer need to flush the stats atomically. Flush the stats non-atomically.
---
mm/memcontrol.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
mm/memcontrol.c renamed from mm/memcontrol.c~memcg-flush-stats-non-atomically-in-mem_cgroup_wb_stats +1 -5
@@ -4656,11 +4656,7 @@ void mem_cgroup_wb_stats(struct bdi_writstruct mem_cgroup *memcg =mem_cgroup_from_css (wb->memcg_css);struct mem_cgroup *parent; -/* -* wb_writeback() takes a spinlock and calls -* wb_over_bg_thresh()->mem_cgroup_wb_stats(). Do not sleep. -*/ -mem_cgroup_flush_stats_atomic (); +mem_cgroup_flush_stats (); *pdirty =memcg_page_state (memcg,NR_FILE_DIRTY ); *pwriteback =memcg_page_state (memcg,NR_WRITEBACK );
_
Patches currently in -mm which might be from [email protected] are
mm-zswap-support-exclusive-loads.patch