From: Daisuke Nishimura <nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
To: yamamoto-jCdQPDEk3idL9jVzuh4AOg@public.gmane.org
Cc: minoura-jCdQPDEk3idL9jVzuh4AOg@public.gmane.org,
Linux MM <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org>,
Linux Containers
<containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
Hugh Dickins <hugh-DTz5qymZ9yRBDgjK7y7TUQ@public.gmane.org>,
Balbir Singh
<balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
Subject: Re: [RFC][PATCH] another swap controller for cgroup
Date: Mon, 17 Mar 2008 17:15:16 +0900 [thread overview]
Message-ID: <47DE2894.6010306@mxp.nes.nec.co.jp> (raw)
In-Reply-To: <20080317020407.8512E1E7995-Pcsii4f/SVk@public.gmane.org>
Hi, Yamamoto-san.
I'm reviewing and testing your patch now.
I think your implementation is better because:
- the group to be charged is determined correctly
at the point of swapout, without fixing the behavior
of move_task of memcg.
(I think the behavior of move_task of memcg should be
fixed anyway.)
- the group to be uncharged is remembered in page struct
of pmd, so there is no need to add array of pointers
to swap_info_struct.
> - anonymous objects (shmem) are not accounted.
IMHO, shmem should be accounted.
I agree it's difficult in your implementation,
but are you going to support it?
Thanks,
Daisuke Nishimura.
next prev parent reply other threads:[~2008-03-17 8:15 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-17 2:04 [RFC][PATCH] another swap controller for cgroup YAMAMOTO Takashi
[not found] ` <20080317020407.8512E1E7995-Pcsii4f/SVk@public.gmane.org>
2008-03-17 5:11 ` Balbir Singh
2008-03-17 8:15 ` Daisuke Nishimura [this message]
[not found] ` <47DE2894.6010306-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-03-17 8:50 ` YAMAMOTO Takashi
[not found] ` <20080317085003.EA4511E7A77-Pcsii4f/SVk@public.gmane.org>
2008-04-29 22:50 ` YAMAMOTO Takashi
[not found] ` <20080429225047.EC4645A04-Pcsii4f/SVk@public.gmane.org>
2008-04-30 4:09 ` Daisuke Nishimura
[not found] ` <4817F108.40806-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-05-22 4:46 ` YAMAMOTO Takashi
[not found] ` <20080522044656.2FB695A0A-Pcsii4f/SVk@public.gmane.org>
2008-05-22 4:54 ` Daisuke Nishimura
2008-05-05 6:11 ` Balbir Singh
[not found] ` <20080505061142.GA13834-SINUvgVNF2CyUtPGxGje5AC/G2K4zDHf@public.gmane.org>
2008-05-07 5:50 ` YAMAMOTO Takashi
[not found] ` <20080507055045.4ACBD5A0A-Pcsii4f/SVk@public.gmane.org>
2008-05-08 15:43 ` Balbir Singh
[not found] ` <48231FB6.7000206-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-05-14 3:21 ` YAMAMOTO Takashi
[not found] ` <20080514032125.46F7D5A07-Pcsii4f/SVk@public.gmane.org>
2008-05-14 3:27 ` Paul Menage
2008-05-14 8:44 ` Paul Menage
[not found] ` <6599ad830805140144k583f7426k4024dd17a6cd3eb8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-05-15 6:23 ` YAMAMOTO Takashi
[not found] ` <20080515062318.5F1BA5A07-Pcsii4f/SVk@public.gmane.org>
2008-05-15 7:19 ` Paul Menage
[not found] ` <6599ad830805150019v5ba23fe1xe5a6e8b80bc194f5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-05-15 8:56 ` YAMAMOTO Takashi
[not found] ` <20080515085606.7239D5A07-Pcsii4f/SVk@public.gmane.org>
2008-05-15 12:01 ` Daisuke Nishimura
[not found] ` <482C2631.1030600-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-05-19 4:14 ` YAMAMOTO Takashi
2008-03-24 12:10 ` Daisuke Nishimura
[not found] ` <47E79A26.3070401-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-03-24 12:22 ` Balbir Singh
[not found] ` <47E79CF0.6040308-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-25 6:46 ` Daisuke Nishimura
2008-03-25 3:10 ` YAMAMOTO Takashi
[not found] ` <20080325031039.549831E9292-Pcsii4f/SVk@public.gmane.org>
2008-03-25 4:35 ` Daisuke Nishimura
[not found] ` <47E88129.1010705-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-03-25 8:57 ` YAMAMOTO Takashi
[not found] ` <20080325085723.698C11E936D-Pcsii4f/SVk@public.gmane.org>
2008-03-25 12:35 ` Daisuke Nishimura
[not found] ` <47E8F1A0.5080209-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-03-27 6:28 ` YAMAMOTO Takashi
[not found] ` <20080327062834.DAB7E5A02-Pcsii4f/SVk@public.gmane.org>
2008-03-28 9:00 ` Daisuke Nishimura
[not found] ` <47ECB3B1.6040500-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-04-08 3:29 ` YAMAMOTO Takashi
2008-04-10 7:40 ` YAMAMOTO Takashi
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=47DE2894.6010306@mxp.nes.nec.co.jp \
--to=nishimura-yqh0odqvrdy45+qrqbaojngsjqdprsil@public.gmane.org \
--cc=balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
--cc=hugh-DTz5qymZ9yRBDgjK7y7TUQ@public.gmane.org \
--cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \
--cc=minoura-jCdQPDEk3idL9jVzuh4AOg@public.gmane.org \
--cc=yamamoto-jCdQPDEk3idL9jVzuh4AOg@public.gmane.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