git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1404f06
)
cgroups: add cpu_relax() calls in css_tryget() and cgroup_clear_css_refs()
author
Paul Menage
<menage@google.com>
Thu, 29 Jan 2009 22:25:21 +0000
(14:25 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 30 Jan 2009 02:04:45 +0000
(18:04 -0800)
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>
No differences found