Skip to contentSkip to conversation

cgroup fixes for v4.13-rc7

GIT PULL Tejun Heo 1 participant 1 message Aug 29, 2017

Subsystems (2)
lore
Share & tools
lore

Tejun Heo

author maintainer
#0 lore raw

Hello,

A late but obvious fix for cgroup. I broke "cpuset.memory_pressure" file a long time ago (v4.4) by accidentally deleting its file index, which made it a duplicate of the "cpuset.memory_migrate" file. Spotted and fixed by Waiman.

Thanks.

The following changes since commit 3c74541777302eec43a0d1327c4d58b8659a776b:

cgroup: fix error return value from cgroup_subtree_control() (2017-07-23 08:15:17 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.13-fixes

for you to fetch changes up to 1c08c22c874ac88799cab1f78c40f46110274915:

cpuset: Fix incorrect memory_pressure control file mapping (2017-08-24 09:42:28 -0700)

----------------------------------------------------------------
Waiman Long (1):
cpuset: Fix incorrect memory_pressure control file mapping

 kernel/cgroup/cpuset.c | 1 +
 1 file changed, 1 insertion(+)
kernel/cgroup/cpuset.c +1 -0
index ca8376e..8362bac 100644
@@ -1891,6 +1891,7 @@ static struct cftype files[] = {
 	{
 		.name = "memory_pressure",
 		.read_u64 = cpuset_read_u64,
+		.private = FILE_MEMORY_PRESSURE,
 	},
 
 	{