diff options
author | Hugh Dickins <hughd@google.com> | 2014-01-24 00:53:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-24 01:36:53 +0100 |
commit | d8ad30559715ce97afb7d1a93a12fd90e8fff312 (patch) | |
tree | de34c8716415741701e60981b89cfeb2aef114da /Documentation | |
parent | mm/memcg: fix last_dead_count memory wastage (diff) | |
download | linux-d8ad30559715ce97afb7d1a93a12fd90e8fff312.tar.xz linux-d8ad30559715ce97afb7d1a93a12fd90e8fff312.zip |
mm/memcg: iteration skip memcgs not yet fully initialized
It is surprising that the mem_cgroup iterator can return memcgs which
have not yet been fully initialized. By accident (or trial and error?)
this appears not to present an actual problem; but it may be better to
prevent such surprises, by skipping memcgs not yet online.
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Tejun Heo <tj@kernel.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: <stable@vger.kernel.org> [3.12+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions