From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id D56EE6B020D for ; Mon, 29 Mar 2010 22:02:16 -0400 (EDT) Received: from m3.gw.fujitsu.co.jp ([10.0.50.73]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id o2U22EuW003247 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Tue, 30 Mar 2010 11:02:14 +0900 Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id BC85945DE50 for ; Tue, 30 Mar 2010 11:02:13 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 8EF8145DE4D for ; Tue, 30 Mar 2010 11:02:13 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 72E2EE38003 for ; Tue, 30 Mar 2010 11:02:13 +0900 (JST) Received: from m106.s.css.fujitsu.com (m106.s.css.fujitsu.com [10.249.87.106]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 1E0F01DB8038 for ; Tue, 30 Mar 2010 11:02:13 +0900 (JST) Date: Tue, 30 Mar 2010 10:58:32 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH(v2) -mmotm 2/2] memcg move charge of shmem at task migration Message-Id: <20100330105832.3828336a.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20100330103301.b0d20f7e.nishimura@mxp.nes.nec.co.jp> References: <20100329120243.af6bfeac.nishimura@mxp.nes.nec.co.jp> <20100329120359.1c6a277d.nishimura@mxp.nes.nec.co.jp> <20100329133645.e3bde19f.kamezawa.hiroyu@jp.fujitsu.com> <20100330103301.b0d20f7e.nishimura@mxp.nes.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Daisuke Nishimura Cc: linux-mm , Andrew Morton , Balbir Singh List-ID: On Tue, 30 Mar 2010 10:33:01 +0900 Daisuke Nishimura wrote: > On Mon, 29 Mar 2010 13:36:45 +0900, KAMEZAWA Hiroyuki wrote: > > Hmm...then, a shmem page is moved even if the task doesn't do page-fault. > > Could you clarify > > "All pages in the range mapped by a task will be moved to the new group > > even if the task doesn't do page fault, i.e. not tasks' RSS." > > ? > I see. > > This is the updated version. > > === > From: Daisuke Nishimura > > This patch adds support for moving charge of shmem and swap of it. It's enabled > by setting bit 2 of /memory.move_charge_at_immigrate. > > Signed-off-by: Daisuke Nishimura Acked-by: KAMEZAWA Hiroyuki BTW, I'm glad if I can see some clean up around migrations. Total clean up after all necessary functions will be good. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org