Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753237AbZFHRqC (ORCPT ); Mon, 8 Jun 2009 13:46:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751016AbZFHRpw (ORCPT ); Mon, 8 Jun 2009 13:45:52 -0400 Received: from mail-bw0-f213.google.com ([209.85.218.213]:45965 "EHLO mail-bw0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbZFHRpv convert rfc822-to-8bit (ORCPT ); Mon, 8 Jun 2009 13:45:51 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KmiaCplrWdNLIpaOWwxYALkPaBUThxOUiYM5iaEE9/74HOGnpdLRLdkztAkkZoNyKx /9qWsOGaHAdP3MP7FlULMjWfw1BxvBlND3Yb3wj4TV6VhQx9Ptb+2T7G92RKXqlOKDQi OoKozaOkUbL7WTtzYPGitAn6r340ZrtYlDXkA= MIME-Version: 1.0 In-Reply-To: <1244480790.2716.7.camel@ht.satnam> References: <200906061959.55592.chris2553@googlemail.com> <1244413881.18742.31.camel@ht.satnam> <2f9e3044bafcae848f74a1492b0ea471.squirrel@neil.brown.name> <1244460875.12644.2.camel@ht.satnam> <1244479879.4079.284.camel@mulgrave.site> <1244480790.2716.7.camel@ht.satnam> Date: Mon, 8 Jun 2009 18:45:51 +0100 Message-ID: Subject: Re: 2.6.30-rc8 Oops whilst booting From: Chris Clayton To: Jaswinder Singh Rajput Cc: James Bottomley , Linus Torvalds , NeilBrown , linux-kernel@vger.kernel.org, scsi , Tejun Heo , Arjan van de Ven Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1547 Lines: 46 2009/6/8 Jaswinder Singh Rajput : > But reverting your patch Or if we return like this also fix chris > problem : > > diff --git a/kernel/async.c b/kernel/async.c > index 94dd36f..3b492cb 100644 > --- a/kernel/async.c > +++ b/kernel/async.c > @@ -96,15 +96,13 @@ static async_cookie_t ?__lowest_in_progress(struct list_head *running) > ? ? ? ?if (!list_empty(running)) { > ? ? ? ? ? ? ? ?entry = list_first_entry(running, > ? ? ? ? ? ? ? ? ? ? ? ?struct async_entry, list); > - ? ? ? ? ? ? ? ret = entry->cookie; > + ? ? ? ? ? ? ? return entry->cookie; > ? ? ? ?} > > ? ? ? ?if (!list_empty(&async_pending)) { > ? ? ? ? ? ? ? ?list_for_each_entry(entry, &async_pending, list) > - ? ? ? ? ? ? ? ? ? ? ? if (entry->running == running) { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ret = entry->cookie; > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? break; > - ? ? ? ? ? ? ? ? ? ? ? } > + ? ? ? ? ? ? ? ? ? ? ? if (entry->running == running) > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? return entry->cookie; > ? ? ? ?} > > ? ? ? ?return ret; > > > I can confirm that a kernel built with Jaswinder's patch applied survived 200 boots without a panic. Chris -- No, Sir; there is nothing which has yet been contrived by man, by which so much happiness is produced as by a good tavern or inn - Doctor Samuel Johnson -- 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/