login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
4
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Li Zefan <lizf@...>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>
Cc: linux-mm@kvack.org <linux-mm@...>, LKML <linux-kernel@...>, balbir@linux.vnet.ibm.com <balbir@...>, menage@google.com <menage@...>, xemul@openvz.org <xemul@...>, yamamoto@valinux.co.jp <yamamoto@...>
Subject:
Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg
Date: Wednesday, June 4, 2008 - 2:42 am
KAMEZAWA Hiroyuki wrote:
quoted text
> Hard-Wall hierarchy support for memcg. > - new member hierarchy_model is added to memcg. > > Only root cgroup can modify this only when there is no children. > > Adds following functions for supporting HARDWALL hierarchy. > - try to reclaim memory at the change of "limit". > - try to reclaim all memory at force_empty > - returns resources to the parent at destroy. > > Changelog v2->v3 > - added documentation. > - hierarhcy_model parameter is added. > > > Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > > --- > Documentation/controllers/memory.txt | 27 +++++- > mm/memcontrol.c | 156 ++++++++++++++++++++++++++++++++++- > 2 files changed, 178 insertions(+), 5 deletions(-) > > Index: temp-2.6.26-rc2-mm1/mm/memcontrol.c > =================================================================== > --- temp-2.6.26-rc2-mm1.orig/mm/memcontrol.c > +++ temp-2.6.26-rc2-mm1/mm/memcontrol.c > @@ -137,6 +137,8 @@ struct mem_cgroup { > struct mem_cgroup_lru_info info; > > int prev_priority; /* for recording reclaim priority */ > + > + int hierarchy_model; /* used hierarchical policy */
hierarchy_model can be a global value instead of per cgroup value. --
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
:
jjohansen
[AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Andrew Morton
2.6.23-rc6-mm1
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
645 guests
online.
Online users
ivy1234
Syndicate