From: Salman Qazi Date: Thu, 14 Jun 2012 21:55:30 +0000 (-0700) Subject: cgroups: Account for CSS_DEACT_BIAS in __css_put X-Git-Tag: v3.5-rc4~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e3bbf42c6d73881956863cc3305456afe2bc4ea;p=pandora-kernel.git 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 Acked-by: Li Zefan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed