Skip to content

Commit 36fde05

Browse files
committed
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
2 parents 31a3faf + 1c08c22 commit 36fde05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/cgroup/cpuset.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,6 +1892,7 @@ static struct cftype files[] = {
18921892
{
18931893
.name = "memory_pressure",
18941894
.read_u64 = cpuset_read_u64,
1895+
.private = FILE_MEMORY_PRESSURE,
18951896
},
18961897

18971898
{

0 commit comments

Comments
 (0)