On Wed, Jun 05, 2013 at 10:39:49AM -0400, Johannes Weiner wrote: > On Wed, Jun 05, 2013 at 01:20:23AM -0700, Tejun Heo wrote: > > Hello, Michal. > > > > On Wed, Jun 05, 2013 at 09:30:23AM +0200, Michal Hocko wrote: > > > > We aren't talking about something gigantic or can > > > > > > mem_cgroup is 888B now (depending on configuration). So I wouldn't call > > > it negligible. > > > > Do you think that the number can actually grow harmful? Would you be > > kind enough to share some calculations with me? > > 5k cgroups * say 10 priority levels * 1k struct mem_cgroup may pin 51M > of dead struct mem_cgroup, plus whatever else the css pins. Bleh, ... * nr_node_ids * MAX_NR_ZONES. So it is a couple hundred MB in that case. -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html