Hello, On Fri, Aug 28, 2015 at 07:06:13PM +0200, Michal Hocko wrote: > I do not think this a better behavior. If you have parallel charges to > the same memcg then you can easilly over-reclaim because everybody > will reclaim the maximum rather than its contribution. > > Sure we can fail to reclaim the target and slowly grow over high limit > but that is to be expected. This is not the max limit which cannot be > breached and external memory pressure/reclaim is there to mitigate that. Ah, I see, yeah, over-reclaim can happen. How about just wrapping the over-high reclaim with a per-memcg mutex? Do we gain anything by putting multiple tasks into the reclaim path? Thanks. -- tejun -- 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