[GIT PULL] cgroup fixes for v4.13-rc7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(+)

diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index ca8376e..8362bac 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -1891,6 +1891,7 @@ static struct cftype files[] = {
 	{
 		.name = "memory_pressure",
 		.read_u64 = cpuset_read_u64,
+		.private = FILE_MEMORY_PRESSURE,
 	},
 
 	{
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux