diff options
author | Salman Qazi <[email protected]> | 2012-06-14 14:55:30 -0700 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2012-06-18 15:38:02 -0700 |
commit | 8e3bbf42c6d73881956863cc3305456afe2bc4ea (patch) | |
tree | bb3369e7444a2efe8e890ddd341e576e3cba18c1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 967db0ea65b0bf8507a7643ac8f296c4f2c0a834 (diff) |
cgroups: Account for CSS_DEACT_BIAS in __css_put
When we fixed the race between atomic_dec and css_refcnt, we missed
the fact that css_refcnt internally subtracts CSS_DEACT_BIAS to get
the actual reference count. This can potentially cause a refcount leak
if __css_put races with cgroup_clear_css_refs.
Signed-off-by: Salman Qazi <[email protected]>
Acked-by: Li Zefan <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions