summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-03-03 09:57:57 -0500
committerTejun Heo <tj@kernel.org>2016-03-03 09:57:57 -0500
commit20b454a61fba59be13de52b4493898583ea26d20 (patch)
tree5ca01cf119f13dbd501886cecd917f0705382d96 /lib
parent2378d8b8ba3d2adffb4f98c0c60ee2f448b3be69 (diff)
downloadlwn-20b454a61fba59be13de52b4493898583ea26d20.tar.gz
lwn-20b454a61fba59be13de52b4493898583ea26d20.zip
cgroup: suppress spurious de-populated events
During task migration, tasks may transfer between two css_sets which are associated with the same cgroup. If those tasks are the only tasks in the cgroup, this currently triggers a spurious de-populated event on the cgroup. Fix it by bumping up populated count before bumping it down during migration to ensure that it doesn't reach zero spuriously. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions