diff options
author | Glauber Costa <[email protected]> | 2013-02-22 16:34:55 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-02-23 17:50:18 -0800 |
commit | 0999821b1d08f69e3879eb8fa0d28c4aba82ab5e (patch) | |
tree | 5a985ef3b378ede5c7008ecfaceca9d1d3169ea8 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
parent | b5f99b537d047072bd50ff5c51000613eb537be8 (diff) |
memcg: replace cgroup_lock with memcg specific memcg_lock
After the preparation work done in earlier patches, the cgroup_lock can
be trivially replaced with a memcg-specific lock. This is an automatic
translation at every site where the values involved were queried.
The sites where values are written, however, used to be naturally called
under cgroup_lock. This is the case for instance in the css_online
callback. For those, we now need to explicitly add the memcg lock.
With this, all the calls to cgroup_lock outside cgroup core are gone.
Signed-off-by: Glauber Costa <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Hiroyuki Kamezawa <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions