From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Subject: Re: memory-cgroup bug Date: Fri, 23 Nov 2012 11:10:34 +0100 Message-ID: <20121123101034.GG24698@dhcp22.suse.cz> References: <20121121200207.01068046@pobox.sk> <20121122152441.GA9609@dhcp22.suse.cz> <20121122190526.390C7A28@pobox.sk> <20121122214249.GA20319@dhcp22.suse.cz> <20121122233434.3D5E35E6@pobox.sk> <20121123074023.GA24698@dhcp22.suse.cz> <20121123102137.10D6D653@pobox.sk> <20121123092829.GE24698@dhcp22.suse.cz> <20121123104423.338C7725@pobox.sk> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=A1e0Rx5B8Hyx3nRdSNqn3kdFKPcUcGvj2OV2t0OKrEQ=; b=jr3YiFysRH/mcpKf5j/L4q0q3Nf2ILcNcA+VUuQ57moWOCQSRazY9AEFoUy3tyun+r 95G0dWX6waGSgUKwqtVMQKo2eT17lwUQond7wiSyV9W68roxN/Ha16Qhxv4+iiEUJz1C 38HMDJ0n9cJHRDRQwERcd6aav+V8pY/rruv0aTO2CNwVglM1gXI9arViXtOrHfwTvBll Dgxp0e7TGJ5O2+COirDJc+G9t+u7KV9rmEcu8InDSMLB3pkYrc7McDZNEJB3InZQQTEU hVGZ7OQz56lRuXMa2saiEkdSza0GfzOHqonAKgGPfF0F2FC1pi0vrzKFRJnmWw3Lhcbo YLKA== Content-Disposition: inline In-Reply-To: <20121123104423.338C7725-Rm0zKEqwvD4@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: azurIt Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups mailinglist On Fri 23-11-12 10:44:23, azurIt wrote: [...] > # gdb vmlinux > GNU gdb (GDB) 7.0.1-debian > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /root/bug/dddddddd/vmlinux...(no debugging symbols found)...done. > (gdb) disassemble mem_cgroup_handle_oom > No symbol table is loaded. Use the "file" command. > > > > # objdump -d vmlinux | grep mem_cgroup_handle_oom > Hmm, strange so the function is on the stack but it has been inlined? Doesn't make much sense to me. > i can recompile the kernel if anything needs to be added into it. If you could instrument mem_cgroup_handle_oom with some printks (before we take the memcg_oom_lock, before we schedule and into mem_cgroup_out_of_memory) -- Michal Hocko SUSE Labs From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx126.postini.com [74.125.245.126]) by kanga.kvack.org (Postfix) with SMTP id 127DD6B0088 for ; Fri, 23 Nov 2012 05:10:39 -0500 (EST) Received: by mail-vc0-f169.google.com with SMTP id gb30so2920788vcb.14 for ; Fri, 23 Nov 2012 02:10:38 -0800 (PST) Date: Fri, 23 Nov 2012 11:10:34 +0100 From: Michal Hocko Subject: Re: memory-cgroup bug Message-ID: <20121123101034.GG24698@dhcp22.suse.cz> References: <20121121200207.01068046@pobox.sk> <20121122152441.GA9609@dhcp22.suse.cz> <20121122190526.390C7A28@pobox.sk> <20121122214249.GA20319@dhcp22.suse.cz> <20121122233434.3D5E35E6@pobox.sk> <20121123074023.GA24698@dhcp22.suse.cz> <20121123102137.10D6D653@pobox.sk> <20121123092829.GE24698@dhcp22.suse.cz> <20121123104423.338C7725@pobox.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121123104423.338C7725@pobox.sk> Sender: owner-linux-mm@kvack.org List-ID: To: azurIt Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups mailinglist On Fri 23-11-12 10:44:23, azurIt wrote: [...] > # gdb vmlinux > GNU gdb (GDB) 7.0.1-debian > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /root/bug/dddddddd/vmlinux...(no debugging symbols found)...done. > (gdb) disassemble mem_cgroup_handle_oom > No symbol table is loaded. Use the "file" command. > > > > # objdump -d vmlinux | grep mem_cgroup_handle_oom > Hmm, strange so the function is on the stack but it has been inlined? Doesn't make much sense to me. > i can recompile the kernel if anything needs to be added into it. If you could instrument mem_cgroup_handle_oom with some printks (before we take the memcg_oom_lock, before we schedule and into mem_cgroup_out_of_memory) -- Michal Hocko SUSE Labs -- 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 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161122Ab2KWKKl (ORCPT ); Fri, 23 Nov 2012 05:10:41 -0500 Received: from mail-vc0-f174.google.com ([209.85.220.174]:60539 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161082Ab2KWKKi (ORCPT ); Fri, 23 Nov 2012 05:10:38 -0500 Date: Fri, 23 Nov 2012 11:10:34 +0100 From: Michal Hocko To: azurIt Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups mailinglist Subject: Re: memory-cgroup bug Message-ID: <20121123101034.GG24698@dhcp22.suse.cz> References: <20121121200207.01068046@pobox.sk> <20121122152441.GA9609@dhcp22.suse.cz> <20121122190526.390C7A28@pobox.sk> <20121122214249.GA20319@dhcp22.suse.cz> <20121122233434.3D5E35E6@pobox.sk> <20121123074023.GA24698@dhcp22.suse.cz> <20121123102137.10D6D653@pobox.sk> <20121123092829.GE24698@dhcp22.suse.cz> <20121123104423.338C7725@pobox.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121123104423.338C7725@pobox.sk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 23-11-12 10:44:23, azurIt wrote: [...] > # gdb vmlinux > GNU gdb (GDB) 7.0.1-debian > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /root/bug/dddddddd/vmlinux...(no debugging symbols found)...done. > (gdb) disassemble mem_cgroup_handle_oom > No symbol table is loaded. Use the "file" command. > > > > # objdump -d vmlinux | grep mem_cgroup_handle_oom > Hmm, strange so the function is on the stack but it has been inlined? Doesn't make much sense to me. > i can recompile the kernel if anything needs to be added into it. If you could instrument mem_cgroup_handle_oom with some printks (before we take the memcg_oom_lock, before we schedule and into mem_cgroup_out_of_memory) -- Michal Hocko SUSE Labs