OpenVZ Forum


Home » Mailing lists » Devel » [RFC 1/2] memcg: hierarchy support core (yet another one)
Re: [RFC 1/2] memcg: hierarchy support core (yet another one) [message #30575 is a reply to message #30527] Thu, 29 May 2008 05:11 Go to previous messageGo to previous message
yamamoto is currently offline  yamamoto
Messages: 97
Registered: July 2007
Member
> @@ -39,6 +39,18 @@ struct res_counter {
>  	 */
>  	unsigned long long failcnt;
>  	/*
> +	 * the amount of resource comes from parenet cgroup. Should be
> +	 * returned to the parent at destroying/resizing this res_counter.
> +	 */
> +	unsigned long long borrow;

why do you need this in addition to the limit?
ie. aren't their values always equal except the root cgroup?

YAMAMOTO Takashi
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Previous Topic: [RFC 2/2] memcg: hierarchy support interface (yet another one)
Next Topic: [PATCH] sysctl: check for bogus modes
Goto Forum:
  


Current Time: Tue Nov 19 14:08:46 GMT 2024

Total time taken to generate the page: 0.03251 seconds