]> Git Repo - linux.git/commit
cgroup, memcg, writeback: drop spurious rcu locking around mem_cgroup_css_from_page()
authorTejun Heo <[email protected]>
Sat, 16 Jan 2016 00:57:16 +0000 (16:57 -0800)
committerLinus Torvalds <[email protected]>
Sat, 16 Jan 2016 01:56:32 +0000 (17:56 -0800)
commit654a0dd0953fcd87ff7bbb468fb889f0eb67df33
tree790401b6c2c4cde86cf94a96823c6a9102781412
parent6f8d2b8a262c6b71e1464d488f41cccf9aafbc07
cgroup, memcg, writeback: drop spurious rcu locking around mem_cgroup_css_from_page()

In earlier versions, mem_cgroup_css_from_page() could return non-root
css on a legacy hierarchy which can go away and required rcu locking;
however, the eventual version simply returns the root cgroup if memcg is
on a legacy hierarchy and thus doesn't need rcu locking around or in it.
Remove spurious rcu lockings.

Signed-off-by: Tejun Heo <[email protected]>
Reported-by: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/fs-writeback.c
mm/memcontrol.c
This page took 0.049579 seconds and 4 git commands to generate.