From: KAMEZAWA Hiroyuki Subject: [PATCH v3][0/6] memcg: prevent -ENOMEM in pre_destroy() Date: Fri, 11 May 2012 18:41:36 +0900 Message-ID: <4FACDED0.3020400@jp.fujitsu.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: "linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org" Cc: "cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Michal Hocko , Johannes Weiner , Frederic Weisbecker , Han Ying , Glauber Costa , Tejun Heo , "Aneesh Kumar K.V" , Andrew Morton , Hiroyuki Kamezawa , Linux Kernel Hi, here is v3 based on memcg-devel tree. git://github.com/mstsxfx/memcg-devel.git This patch series is for avoiding -ENOMEM at calling pre_destroy() which is called at rmdir(). After this patch, charges will be moved to root (if use_hierarchy==0) or parent (if use_hierarchy==1), and we'll not see -ENOMEM in rmdir() of cgroup. v2 included some other patches than ones for handling -ENOMEM problem, but I divided it. I'd like to post others in different series, later. No logical changes in general, maybe v3 is cleaner than v2. 0001 ....fix error code in memcg-hugetlb 0002 ....add res_counter_uncharge_until 0003 ....use res_counter_uncharge_until in memcg 0004 ....move charges to root is use_hierarchy==0 0005 ....cleanup for mem_cgroup_move_account() 0006 ....remove warning of res_counter_uncharge_nofail (from Costa's slub accounting series). Regards, -Kame