Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932831Ab3DFJBg (ORCPT ); Sat, 6 Apr 2013 05:01:36 -0400 Received: from mail-bk0-f42.google.com ([209.85.214.42]:38226 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932815Ab3DFJBe (ORCPT ); Sat, 6 Apr 2013 05:01:34 -0400 MIME-Version: 1.0 In-Reply-To: <0000013dc73c284d-29fd15db-416b-40cc-81b6-81abc5bd3c02-000000@email.amazonses.com> References: <0000013dc73c284d-29fd15db-416b-40cc-81b6-81abc5bd3c02-000000@email.amazonses.com> Date: Sat, 6 Apr 2013 05:01:32 -0400 X-Google-Sender-Auth: Gn1Jh_pT1f7KIfE483EZ08dL1R0 Message-ID: Subject: Re: system death under oom - 3.7.9 From: Ilia Mirkin To: Christoph Lameter Cc: "linux-kernel@vger.kernel.org" , nouveau@lists.freedesktop.org, linux-mm@kvack.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1318 Lines: 28 On Mon, Apr 1, 2013 at 4:14 PM, Christoph Lameter wrote: > On Wed, 27 Mar 2013, Ilia Mirkin wrote: > >> The GPF happens at +160, which is in the argument setup for the >> cmpxchg in slab_alloc_node. I think it's the call to >> get_freepointer(). There was a similar bug report a while back, >> https://lkml.org/lkml/2011/5/23/199, and the recommendation was to run >> with slub debugging. Is that still the case, or is there a simpler >> explanation? I can't reproduce this at will, not sure how many times >> this has happened but definitely not many. > > slub debugging will help to track down the cause of the memory corruption. OK, with slub_debug=FZP, I get (after a while): http://pastebin.com/cbHiKhdq Which definitely makes it look like something in the nouveau context/whatever alloc failure path causes some stomping to happen. (I don't suppose it's reasonable to warn when the stomping happens through some sort of page protection... would explode the size since each n-byte object would be at least 4K, but might be worth it for debugging...) -- 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/