Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757351Ab0DFTh0 (ORCPT ); Tue, 6 Apr 2010 15:37:26 -0400 Received: from cassarossa.samfundet.no ([129.241.93.19]:45760 "EHLO cassarossa.samfundet.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753224Ab0DFThU (ORCPT ); Tue, 6 Apr 2010 15:37:20 -0400 X-Greylist: delayed 1600 seconds by postgrey-1.27 at vger.kernel.org; Tue, 06 Apr 2010 15:37:20 EDT Date: Tue, 6 Apr 2010 21:10:23 +0200 From: "Steinar H. Gunderson" To: Andrew Morton Cc: Linus Torvalds , Rik van Riel , Minchan Kim , KOSAKI Motohiro , Borislav Petkov , Linux Kernel Mailing List , Lee Schermerhorn , Nick Piggin , Andrea Arcangeli , Hugh Dickins Subject: Re: Ugly rmap NULL ptr deref oopsie on hibernate (was Linux 2.6.34-rc3) Message-ID: <20100406191023.GE14054@uio.no> References: <4BBB475A.7070002@redhat.com> <1270568096.1814.145.camel@barrios-desktop> <1270571019.1814.163.camel@barrios-desktop> <1270572327.1711.3.camel@barrios-desktop> <4BBB69A9.5090906@redhat.com> <20100406120315.53ad7390.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20100406120315.53ad7390.akpm@linux-foundation.org> X-Operating-System: Linux 2.6.29.1 on a x86_64 User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 768 Lines: 18 On Tue, Apr 06, 2010 at 12:03:15PM -0700, Andrew Morton wrote: >> For example, maybe some list corruption causes us to do that >> "anon_vma_chain_link()" _twice_ on the same avc entry. So we do that >> "list_add_tail(&avc->same_anon_vma, &anon_vma->head);" on an entry that >> already had "same_anon_vma" on one list. > The lib/list_debug.c stuff might detect such things. I wonder if > either Borislav or Steinar had CONFIG_DEBUG_LIST enabled? Not set on my kernel. /* Steinar */ -- Homepage: http://www.sesse.net/ -- 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/