[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c6b1100b0906081045t47c77b94ubc89d450c3a75147@mail.gmail.com>
Date: Mon, 8 Jun 2009 18:45:51 +0100
From: Chris Clayton <chris2553@...glemail.com>
To: Jaswinder Singh Rajput <jaswinder@...nel.org>
Cc: James Bottomley <James.Bottomley@...senpartnership.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
NeilBrown <neilb@...e.de>, linux-kernel@...r.kernel.org,
scsi <linux-scsi@...r.kernel.org>, Tejun Heo <tj@...nel.org>,
Arjan van de Ven <arjan@...ux.intel.com>
Subject: Re: 2.6.30-rc8 Oops whilst booting
2009/6/8 Jaswinder Singh Rajput <jaswinder@...nel.org>:
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists