Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Sep 2002 11:42:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Sep 2002 11:42:52 -0400 Received: from mx2.elte.hu ([157.181.151.9]:16066 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Tue, 17 Sep 2002 11:42:51 -0400 Date: Tue, 17 Sep 2002 17:54:53 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: Linus Torvalds Cc: Robert Love , Subject: Re: [PATCH] BUG(): sched.c: Line 944 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 23 ie. for the time being, something like: --- linux/kernel/sched.c.orig Tue Sep 17 17:53:31 2002 +++ linux/kernel/sched.c Tue Sep 17 17:54:10 2002 @@ -940,8 +940,9 @@ struct list_head *queue; int idx; - if (unlikely(in_atomic())) - BUG(); + if (likely(current->state != TASK_ZOMBIE)) + if (unlikely(in_atomic())) + BUG(); #if CONFIG_DEBUG_HIGHMEM check_highmem_ptes(); - 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/