Re: [PATCH 3/4] memcg: split part of memcg creation to css_online
From: Glauber Costa <hidden>
Date: 2012-12-04 08:32:24
Also in:
cgroups
From: Glauber Costa <hidden>
Date: 2012-12-04 08:32:24
Also in:
cgroups
On 12/04/2012 12:17 PM, Michal Hocko wrote:
quoted
But it should be extremely easy to protect against this. It is just aquoted
matter of not returning online css in the iterator: then we'll never see them until they are online. This also sounds a lot more correct than returning allocated css.Yes but... Look at your other patch which relies on iterator when counting children to find out if there is any available.
And what is the problem with it ? As I said: if the iterator will not return css that are not online, we should not have a problem. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>