diff options
author | Hugh Dickins <hughd@google.com> | 2014-01-23 15:53:32 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 13:55:28 -0800 |
commit | 27af01bd9f949b1f10c925909454beba65cec3af (patch) | |
tree | 6537ea91bf07587fa5539f526e038e2bb1edf9d0 /crypto/algif_hash.c | |
parent | 9af7b86781e351d0d9e6b32094b345a5078a99db (diff) |
mm/memcg: iteration skip memcgs not yet fully initialized
commit d8ad30559715ce97afb7d1a93a12fd90e8fff312 upstream.
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions