summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup/cpuset.c
diff options
context:
space:
mode:
authorLinus Torvalds2017-08-29 20:16:21 +0200
committerLinus Torvalds2017-08-29 20:16:21 +0200
commit36fde05f3fb51edea879636db590d70e11f16c82 (patch)
treec7c707541f7ebcd0acf77faf9c8d6995dfd8be18 /kernel/cgroup/cpuset.c
parentMerge branch 'for-4.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
parentcpuset: Fix incorrect memory_pressure control file mapping (diff)
downloadkernel-qcow2-linux-36fde05f3fb51edea879636db590d70e11f16c82.tar.gz
kernel-qcow2-linux-36fde05f3fb51edea879636db590d70e11f16c82.tar.xz
kernel-qcow2-linux-36fde05f3fb51edea879636db590d70e11f16c82.zip
Merge branch 'for-4.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
Pull cgroup fix from Tejun Heo: "A late but obvious fix for cgroup. I broke the '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" * 'for-4.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup: cpuset: Fix incorrect memory_pressure control file mapping
Diffstat (limited to 'kernel/cgroup/cpuset.c')
-rw-r--r--kernel/cgroup/cpuset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index 8d5151688504..87a1213dd326 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -1892,6 +1892,7 @@ static struct cftype files[] = {
{
.name = "memory_pressure",
.read_u64 = cpuset_read_u64,
+ .private = FILE_MEMORY_PRESSURE,
},
{