Hugh Dickins d8ad305597 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>
2014-01-23 16:36:53 -08:00
..
2012-01-03 22:54:56 -05:00
2011-07-26 16:49:47 -07:00
2013-12-18 19:04:52 -08:00
2013-09-10 18:56:30 -04:00
2014-01-23 16:36:52 -08:00
2013-10-16 21:35:53 -07:00
2010-05-21 18:31:21 -04:00
2012-06-20 14:39:36 -07:00