From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx189.postini.com [74.125.245.189]) by kanga.kvack.org (Postfix) with SMTP id C54BC6B0072 for ; Thu, 19 Jul 2012 06:13:22 -0400 (EDT) Received: from m2.gw.fujitsu.co.jp (unknown [10.0.50.72]) by fgwmail5.fujitsu.co.jp (Postfix) with ESMTP id 606793EE0BD for ; Thu, 19 Jul 2012 19:13:21 +0900 (JST) Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 3FDA445DE59 for ; Thu, 19 Jul 2012 19:13:21 +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 220E045DE54 for ; Thu, 19 Jul 2012 19:13:21 +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 07067E18004 for ; Thu, 19 Jul 2012 19:13:21 +0900 (JST) Received: from m1001.s.css.fujitsu.com (m1001.s.css.fujitsu.com [10.240.81.139]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 3DB0C1DB8038 for ; Thu, 19 Jul 2012 19:13:20 +0900 (JST) Message-ID: <5007DD3B.8030703@jp.fujitsu.com> Date: Thu, 19 Jul 2012 19:11:07 +0900 From: Kamezawa Hiroyuki MIME-Version: 1.0 Subject: Re: [PATCH mmotm] mm, oom: reduce dependency on tasklist_lock: fix References: <20120713143206.GA4511@tiehlicka.suse.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: Andrew Morton , David Rientjes , Johannes Weiner , KOSAKI Motohiro , Minchan Kim , Oleg Nesterov , Michal Hocko , linux-mm@kvack.org, cgroups@vger.kernel.org (2012/07/16 16:42), Hugh Dickins wrote: > Slab poisoning gave me a General Protection Fault on the > atomic_dec(&__task_cred(p)->user->processes); > line of release_task() called from wait_task_zombie(), > every time my dd to USB testing generated a memcg OOM. > > oom_kill_process() now does the put_task_struct(), > mem_cgroup_out_of_memory() should not repeat it. > > Signed-off-by: Hugh Dickins Thank you for catching ! Acked-by: KAMEZAWA Hiroyuki -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kamezawa Hiroyuki Subject: Re: [PATCH mmotm] mm, oom: reduce dependency on tasklist_lock: fix Date: Thu, 19 Jul 2012 19:11:07 +0900 Message-ID: <5007DD3B.8030703@jp.fujitsu.com> References: <20120713143206.GA4511@tiehlicka.suse.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Hugh Dickins Cc: Andrew Morton , David Rientjes , Johannes Weiner , KOSAKI Motohiro , Minchan Kim , Oleg Nesterov , Michal Hocko , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org (2012/07/16 16:42), Hugh Dickins wrote: > Slab poisoning gave me a General Protection Fault on the > atomic_dec(&__task_cred(p)->user->processes); > line of release_task() called from wait_task_zombie(), > every time my dd to USB testing generated a memcg OOM. > > oom_kill_process() now does the put_task_struct(), > mem_cgroup_out_of_memory() should not repeat it. > > Signed-off-by: Hugh Dickins Thank you for catching ! Acked-by: KAMEZAWA Hiroyuki