summaryrefslogtreecommitdiff
path: root/lib/devres.c
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2017-08-24 16:04:29 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-07 06:35:40 (GMT)
commit309e4dbfaf3da435644b6d9c96a43c50ce9598be (patch)
tree698f87007eec97980889a67a4846a33f03dc1391 /lib/devres.c
parentda16ed52c36aa200e60230de54271a8556dc8674 (diff)
downloadlinux-309e4dbfaf3da435644b6d9c96a43c50ce9598be.tar.xz
cpuset: Fix incorrect memory_pressure control file mapping
commit 1c08c22c874ac88799cab1f78c40f46110274915 upstream. The memory_pressure control file was incorrectly set up without a private value (0, by default). As a result, this control file was treated like memory_migrate on read. By adding back the FILE_MEMORY_PRESSURE private value, the correct memory pressure value will be returned. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: 7dbdb199d3bf ("cgroup: replace cftype->mode with CFTYPE_WORLD_WRITABLE") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions