login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
4
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>
To: Paul Menage <menage@...>
Cc: linux-mm@kvack.org <linux-mm@...>, LKML <linux-kernel@...>, balbir@linux.vnet.ibm.com <balbir@...>, xemul@openvz.org <xemul@...>, yamamoto@valinux.co.jp <yamamoto@...>
Subject:
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
Date: Wednesday, June 4, 2008 - 5:31 am
On Wed, 4 Jun 2008 02:15:32 -0700 "Paul Menage" <menage@google.com> wrote:
quoted text
> On Wed, Jun 4, 2008 at 2:15 AM, KAMEZAWA Hiroyuki > <kamezawa.hiroyu@jp.fujitsu.com> wrote: > >> Should we try to support hierarchy and non-hierarchy cgroups in the > >> same tree? Maybe we should just enforce the restrictions that: > >> > >> - the hierarchy mode can't be changed on a cgroup if you have children > >> or any non-zero usage/limit > >> - a cgroup inherits its parent's hierarchy mode. > >> > > Ah, my patch does it (I think). explanation is bad. > > > > - mem cgroup's mode can be changed against ROOT node which has no children. > > - a child inherits parent's mode. > > But if it can only be changed for the root cgroup when it has no > children, than implies that all cgroups must have the same mode. I'm > suggesting that we allow non-root cgroups to change their mode, as > long as: > > - they have no children > > - they don't have any limit charged to their parent (which means that > either they have a zero limit, or they have no parent, or they're not > in hierarchy mode) >
Hmm, I got your point. Your suggestion seems reasonable. I'll try that logic in the next version. Thanks, -Kame --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH 0/2] memcg: hierarchy support (v3)
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 12:58 am)
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
, Balbir Singh
, (Mon Jun 9, 5:30 am)
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
, KAMEZAWA Hiroyuki
, (Mon Jun 9, 5:55 am)
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
, Balbir Singh
, (Mon Jun 9, 6:33 am)
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
, Paul Menage
, (Wed Jun 4, 4:59 am)
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 5:15 am)
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
, Paul Menage
, (Wed Jun 4, 5:15 am)
Re: [RFC][PATCH 0/2] memcg: hierarchy support (v3)
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 5:31 am)
[RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 1:03 am)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, Randy Dunlap
, (Wed Jun 11, 7:24 pm)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, KAMEZAWA Hiroyuki
, (Thu Jun 12, 1:00 am)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, Balbir Singh
, (Mon Jun 9, 6:56 am)
Re: Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
,
, (Mon Jun 9, 8:09 am)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, Daisuke Nishimura
, (Wed Jun 4, 8:32 am)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 8:04 pm)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, Paul Menage
, (Wed Jun 4, 4:59 am)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 5:26 am)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, Daisuke Nishimura
, (Wed Jun 4, 8:53 am)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, Li Zefan
, (Wed Jun 4, 2:42 am)
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 2:54 am)
[RFC][PATCH 1/2] memcg: res_counter hierarchy
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 1:01 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, Randy Dunlap
, (Wed Jun 11, 7:24 pm)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, KAMEZAWA Hiroyuki
, (Thu Jun 12, 12:59 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, Balbir Singh
, (Mon Jun 9, 5:48 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, KAMEZAWA Hiroyuki
, (Mon Jun 9, 6:20 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, Balbir Singh
, (Mon Jun 9, 6:37 am)
Re: Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
,
, (Mon Jun 9, 8:02 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, Paul Menage
, (Wed Jun 4, 4:59 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 5:18 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, YAMAMOTO Takashi
, (Wed Jun 4, 3:20 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 3:32 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, Li Zefan
, (Wed Jun 4, 2:54 am)
Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
, KAMEZAWA Hiroyuki
, (Wed Jun 4, 3:03 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Gabriel C
Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
Benjamin Herrenschmidt
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Linus Torvalds
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Pavel Machek
suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 34/37] dccp: Auto-load (when supported) CCID plugins for negotiation
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Vlad Yasevich
[PATCH 1/4] sctp: Drop ICMP packet too big message with MTU larger than current PMTU
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
1006 guests
online.
Online users
maheshdm
strcmp
honeyairtuz
aquaracer13
Syndicate