]> Git Repo - linux.git/commit
mm/memcg: iteration skip memcgs not yet fully initialized
authorHugh Dickins <[email protected]>
Thu, 23 Jan 2014 23:53:32 +0000 (15:53 -0800)
committerLinus Torvalds <[email protected]>
Fri, 24 Jan 2014 00:36:53 +0000 (16:36 -0800)
commitd8ad30559715ce97afb7d1a93a12fd90e8fff312
treede34c8716415741701e60981b89cfeb2aef114da
parentd2ab70aaae74456ed608740915dc82ef52291f69
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 <[email protected]>
Cc: Tejun Heo <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: <[email protected]> [3.12+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c
This page took 0.054603 seconds and 4 git commands to generate.