commit | 804b3c28a4e4fa1c224571bf76edb534b9c4b1ed | [log] [tgz] |
---|---|---|
author | Paul Menage <menage@google.com> | Thu Jan 29 14:25:21 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 29 18:04:45 2009 -0800 |
tree | 59e0dabb227a5067cfdc7cce13f149f141ef8cb4 | |
parent | 1404f06565ee89e0ce04d4a5859c00b0e3a0dc8d [diff] |
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 <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>