Skip to contentSkip to conversation

mm-memcg-drop-obsolete-cache-line-padding-in-struct-mem_cgroup.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jul 6, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: memcg: drop obsolete cache line padding in struct mem_cgroup
has been removed from the -mm tree. Its filename was
mm-memcg-drop-obsolete-cache-line-padding-in-struct-mem_cgroup.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: Roman Gushchin <[email protected]>
Subject: mm: memcg: drop obsolete cache line padding in struct mem_cgroup
Date: Mon, 1 Jul 2024 18:59:31 +0000

After the grouping of the cgroup v1-related fields and the corresponding reorganization of the struct mem_cgroup, the existing cache line padding doesn't make much sense anymore. Let's drop it for now and put back to new places, if necessary.

---

 include/linux/memcontrol.h |    4 ----
 1 file changed, 4 deletions(-)
include/linux/memcontrol.h renamed from include/linux/memcontrol.h~mm-memcg-drop-obsolete-cache-line-padding-in-struct-mem_cgroup +0 -4
@@ -220,8 +220,6 @@ struct mem_cgroup {
 	/* handle for "memory.swap.events" */
 	struct cgroup_file swap_events_file;
 
-	CACHELINE_PADDING(_pad1_);
-
 	/* memory.stat */
 	struct memcg_vmstats	*vmstats;
 
@@ -305,8 +303,6 @@ struct mem_cgroup {
 	bool tcpmem_active;
 	int tcpmem_pressure;
 
-	CACHELINE_PADDING(_pad2_);
-
 	/*
 	 * set > 0 if pages under this cgroup are moving to other cgroup.
 	 */

_

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