From: Paul Menage Date: Thu, 29 Jan 2009 22:25:21 +0000 (-0800) Subject: cgroups: add cpu_relax() calls in css_tryget() and cgroup_clear_css_refs() X-Git-Tag: v2.6.29-rc4~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=804b3c28a4e4fa1c224571bf76edb534b9c4b1ed;p=pandora-kernel.git cgroups: add cpu_relax() calls in css_tryget() and cgroup_clear_css_refs() css_tryget() and cgroup_clear_css_refs() contain polling loops; these loops should have cpu_relax calls in them to reduce cross-cache traffic. Signed-off-by: Paul Menage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed