memcg: replace ss->id_lock with a rwlock