[PATCH 01/18] memcg: make mem_cgroup_read_{stat|event}() iterate possible cpus instead of online

2015-03-22 Thread Tejun Heo
cpu_possible_mask represents the CPUs which are actually possible during that boot instance. For systems which don't support CPU hotplug, this will match cpu_online_mask exactly in most cases. Even for systems which support CPU hotplug, the number of possible CPU slots is highly unlikely to

[PATCH 01/18] memcg: make mem_cgroup_read_{stat|event}() iterate possible cpus instead of online

2015-03-22 Thread Tejun Heo
cpu_possible_mask represents the CPUs which are actually possible during that boot instance. For systems which don't support CPU hotplug, this will match cpu_online_mask exactly in most cases. Even for systems which support CPU hotplug, the number of possible CPU slots is highly unlikely to