Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756073Ab0G2Jrt (ORCPT ); Thu, 29 Jul 2010 05:47:49 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:42555 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752151Ab0G2Jrp (ORCPT ); Thu, 29 Jul 2010 05:47:45 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Thu, 29 Jul 2010 18:42:50 +0900 From: KAMEZAWA Hiroyuki To: "linux-mm@kvack.org" Cc: "balbir@linux.vnet.ibm.com" , "nishimura@mxp.nes.nec.co.jp" , vgoyal@redhat.com, m-ikeda@ds.jp.nec.com, gthelen@google.com, "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH 0/5] memcg updates towards I/O aware memcg v2. Message-Id: <20100729184250.acdff587.kamezawa.hiroyu@jp.fujitsu.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.0.3 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1441 Lines: 38 Hi, this version removes virt-array and use simple id <-> memcg table. and removed RFC. This set has 2+1 purposes. 1. re-desgin struct page_cgroup and makes room for blocckio-cgroup ID. 2. implement quick updating method for memcg's file stat. 3. optionally? use spin_lock instead of bit_spinlock. Plans after this. 1. check influence of Mel's new writeback method. I think we'll see OOM easier. IIUC, memory cgroup needs a thread like kswapd to do background writeback or low-high watermark. (By this, we can control priority of background writeout thread priority by CFS. This is very good.) 2. implementing dirty_ratio. Now, Greg Thelen is working on. One of biggest problems of previous trial was update cost of status. I think this patch set can reduce it. 3. record blockio cgroup's ID. Ikeda posted one. IIUC, it requires some consideration on (swapin)readahead for assigning IDs. But it seemed to be good in general. Importance is in this order in my mind. But all aboves can be done in parallel. Beyond that, some guys has problem with file-cache-control. If it need to use account migration, we have to take care of races. Thanks, -Kame -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/