memcg: reduce size of mem_cgroup by using nr_cpu_ids