From: yamamoto@valinux.co.jp (YAMAMOTO Takashi)
To: kamezawa.hiroyu@jp.fujitsu.com
Cc: linux-mm@kvack.org, containers@lists.osdl.org,
balbir@linux.vnet.ibm.com, xemul@openvz.org
Subject: Re: [RFC 1/2] memcg: hierarchy support core (yet another one)
Date: Thu, 29 May 2008 14:11:04 +0900 (JST) [thread overview]
Message-ID: <20080529051104.2C4995A0E@siro.lan> (raw)
In-Reply-To: Your message of "Wed, 28 May 2008 16:56:20 +0900" <20080528165620.68f4d911.kamezawa.hiroyu@jp.fujitsu.com>
> @@ -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
--
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>
next prev parent reply other threads:[~2008-05-29 5:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-28 7:56 KAMEZAWA Hiroyuki
2008-05-28 7:57 ` [RFC 2/2] memcg: hierarchy support interface " KAMEZAWA Hiroyuki
2008-05-29 5:11 ` YAMAMOTO Takashi [this message]
2008-05-29 5:23 ` [RFC 1/2] memcg: hierarchy support core " KAMEZAWA Hiroyuki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080529051104.2C4995A0E@siro.lan \
--to=yamamoto@valinux.co.jp \
--cc=balbir@linux.vnet.ibm.com \
--cc=containers@lists.osdl.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-mm@kvack.org \
--cc=xemul@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox