Skip to contentSkip to conversation

mm-vmscanc-use-update_lru_size-in-update_lru_sizes.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 4, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/vmscan.c: use update_lru_size() in update_lru_sizes()
has been removed from the -mm tree. Its filename was
mm-vmscanc-use-update_lru_size-in-update_lru_sizes.patch

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

------------------------------------------------------
From: Wei Yang <[email protected]>
Subject: mm/vmscan.c: use update_lru_size() in update_lru_sizes()

We already defined the helper update_lru_size().

Let's use this to reduce code duplication.

---

 mm/vmscan.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscanc-use-update_lru_size-in-update_lru_sizes +1 -4
@@ -1602,10 +1602,7 @@ static __always_inline void update_lru_s
 		if (!nr_zone_taken[zid])
 			continue;
 
-		__update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]);
-#ifdef CONFIG_MEMCG
-		mem_cgroup_update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]);
-#endif
+		update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]);
 	}
 
 }

_

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

bitops-simplify-get_count_order_long.patch bitops-use-the-same-mechanism-for-get_count_order.patch lib-test-get_count_order-long-in-test_bitopsc.patch