Re: [RFC][PATCH 2/2] memcg: hardwall hierarhcy for memcg

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
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@...>
Date: Wednesday, June 4, 2008 - 5:26 am

On Wed, 4 Jun 2008 01:59:12 -0700
"Paul Menage" <menage@google.com> wrote:

Hmm ok. Maybe All I have to do is to define "What the callback has to do"
and to move this check interface to res_counter.


ok, will try.


ok, will check in res_counter itself.

When this is called, there are no process in this group. Then, remaining
resources in this level is
  - file cache
  - swap cache (if shared)
  - shmem

And the biggest usage will be "file cache".
So, I don't think it's necessary to move child's usage to the parent,
in hurry. But maybe shmem is worth to be moved.

I'd like to revisit this when I implements "usage move at task move"
logic. (currenty, memory usage doesn't move to new cgroup at task_attach.)

It will help me to implement the logic "move remaining usage to the parent"
in clean way.

Thanks,
-Kame









--
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, KAMEZAWA Hiroyuki, (Thu Jun 12, 1:00 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, 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, 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: [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, KAMEZAWA Hiroyuki, (Wed Jun 4, 3:03 am)