From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balbir Singh Subject: Re: [PATCH 0/4] swapcgroup(v2) Date: Fri, 23 May 2008 02:57:54 +0530 Message-ID: <4835E55A.1000308@linux.vnet.ibm.com> References: <48350F15.9070007@mxp.nes.nec.co.jp> Reply-To: balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48350F15.9070007-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Daisuke Nishimura Cc: YAMAMOTO Takashi , Linux MM , Linux Containers , Hugh Dickins , Pavel Emelyanov List-Id: containers.vger.kernel.org Daisuke Nishimura wrote: > Hi. > > I updated my swapcgroup patch. > > 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. > - 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. > Thanks for looking into this. Yamamoto-San is also looking into a swap controller. Is there a consensus on the approach? -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL