[Devel] Re: [PATCH 0/4] swapcgroup(v2)
KAMEZAWA Hiroyuki
kamezawa.hiroyu at jp.fujitsu.com
Thu May 22 00:44:21 PDT 2008
On Thu, 22 May 2008 15:13:41 +0900
Daisuke Nishimura <nishimura at mxp.nes.nec.co.jp> wrote:
> Hi.
>
> I updated my swapcgroup patch.
>
seems good in general.
> Major changes from previous version(*1):
> - Rebased on 2.6.26-rc2-mm1 + KAMEZAWA-san's performance
> improvement patchset v4.
> - Implemented as a add-on to memory cgroup.
> So, there is no need to add a new member to page_cgroup now.
> - (NEW)Modified vm_swap_full() to calculate the rate of
> swap usage per cgroup.
>
> Patchs:
> - [1/4] add cgroup files
> - [2/4] add member to swap_info_struct for cgroup
> - [3/4] implement charge/uncharge
> - [4/4] modify vm_swap_full for cgroup
>
> ToDo:
> - handle force_empty.
Without this, we can do rmdir() against cgroup with swap. right ?
> - make it possible for users to select if they use
> this feature or not, and avoid overhead for users
> not using this feature.
> - move charges along with task move between cgroups.
>
I think memory-controller's anon pages should also do this....
But how do you think about shared entries ?
Thanks,
-Kame
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list