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 1C6136B0308 for ; Fri, 20 Aug 2010 06:00:57 -0400 (EDT) Received: from m2.gw.fujitsu.co.jp ([10.0.50.72]) by fgwmail5.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id o7KA0tKU011489 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Fri, 20 Aug 2010 19:00:55 +0900 Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id C5E9F45DE55 for ; Fri, 20 Aug 2010 19:00:54 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m2.gw.fujitsu.co.jp (Postfix) with ESMTP id A35E445DE51 for ; Fri, 20 Aug 2010 19:00:54 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 8366C1DB803C for ; Fri, 20 Aug 2010 19:00:54 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.249.87.103]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 3BF751DB803B for ; Fri, 20 Aug 2010 19:00:54 +0900 (JST) Date: Fri, 20 Aug 2010 18:55:52 +0900 From: KAMEZAWA Hiroyuki Subject: [PATCH] memcg: towards I/O aware memcg v5 Message-Id: <20100820185552.426ff12e.kamezawa.hiroyu@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: linux-mm@kvack.org Cc: "nishimura@mxp.nes.nec.co.jp" , "balbir@linux.vnet.ibm.com" , gthelen@google.com, m-ikeda@ds.jp.nec.com, "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" , kamezawa.hiroyuki@gmail.com List-ID: This is v5. Sorry for delaying...but I had time for resetting myself and..several changes are added. I think this version is simpler than v4. Major changes from v4 is a) added kernel/cgroup.c hooks again. (for b) b) make RCU aware. previous version seems dangerous in an extreme case. Then, codes are updated. Most of changes are related to RCU. Patch brief view: 1. add hooks to kernel/cgroup.c for ID management. 2. use ID-array in memcg. 3. record ID to page_cgroup rather than pointer. 4. make update_file_mapped to be RCU aware routine instead of spinlock. 5. make update_file_mapped as general-purpose function. Thanks, -Kame -- 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