Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753840AbYKXWgQ (ORCPT ); Mon, 24 Nov 2008 17:36:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752937AbYKXWf7 (ORCPT ); Mon, 24 Nov 2008 17:35:59 -0500 Received: from www.tglx.de ([62.245.132.106]:47918 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029AbYKXWf6 (ORCPT ); Mon, 24 Nov 2008 17:35:58 -0500 Date: Mon, 24 Nov 2008 23:33:36 +0100 (CET) From: Thomas Gleixner To: Mike Anderson cc: James Bottomley , Alexander Beregalov , LKML , linux-next@vger.kernel.org, Ingo Molnar , linux-scsi@vger.kernel.org, David Miller , Jens Axboe Subject: Re: next-20081119: general protection fault: get_next_timer_interrupt() In-Reply-To: <20081124213517.GA25898@linux.vnet.ibm.com> Message-ID: References: <1227554117.25499.46.camel@localhost.localdomain> <20081124213517.GA25898@linux.vnet.ibm.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1396 Lines: 39 On Mon, 24 Nov 2008, Mike Anderson wrote: > Thomas Gleixner wrote: > > Yeah, block could it be as well. Jens, Mike ? > > I added a comment to bug 12020 on Thursday about a few other systems that > where seeing the signature shown in bug 12020. It appeared from debug that > there where a few paths that where adding timers for requests that where > not expected. > > http://bugzilla.kernel.org/show_bug.cgi?id=12020 > > It would be good to know if the debug patch below effects your problem as while. > > If it does we need to investigated a solution to resolve not adding a > timer for these requests. Wrong. The problem is not a timer which is armed in the first place. The problem is an armed timer which is not canceled before the data structure which contains it is freed. So not arming the timer will probably prevent this particular scan problem, but it does not solve the general wreckage of freeing a data structure with a possibly armed timer in it. You need to fix the code path which frees the data structure which contains the timer and cancel the timer _before_ freeing the data structure. Thanks, tglx -- 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/