memcg: replace ss->id_lock with a rwlock
[pandora-kernel.git] / include / linux / cgroup.h
index da7e4bc..1b7f9d5 100644 (file)
@@ -516,7 +516,7 @@ struct cgroup_subsys {
        struct list_head sibling;
        /* used when use_id == true */
        struct idr idr;
-       spinlock_t id_lock;
+       rwlock_t id_lock;
 
        /* should be defined only by modular subsystems */
        struct module *module;