Skip to contentSkip to conversation

mm-page-writeback-use-__this_cpu_inc-in-account_page_dirtied.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 6, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/page-writeback: use __this_cpu_inc() in account_page_dirtied()
has been removed from the -mm tree. Its filename was
mm-page-writeback-use-__this_cpu_inc-in-account_page_dirtied.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Chi Wu <[email protected]>
Subject: mm/page-writeback: use __this_cpu_inc() in account_page_dirtied()

As account_page_dirtied() was always protected by xa_lock_irqsave(), so using __this_cpu_inc() is better.

---

 mm/page-writeback.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page-writeback.c renamed from mm/page-writeback.c~mm-page-writeback-use-__this_cpu_inc-in-account_page_dirtied +1 -1
@@ -2445,7 +2445,7 @@ void account_page_dirtied(struct page *p
 		inc_wb_stat(wb, WB_DIRTIED);
 		task_io_account_write(PAGE_SIZE);
 		current->nr_dirtied++;
-		this_cpu_inc(bdp_ratelimits);
+		__this_cpu_inc(bdp_ratelimits);
 
 		mem_cgroup_track_foreign_dirty(page, wb);
 	}

_

Patches currently in -mm which might be from [email protected] are