Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 16 Sep 2002 18:21:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 16 Sep 2002 18:21:31 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:523 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 16 Sep 2002 18:21:29 -0400 Date: Mon, 16 Sep 2002 15:26:57 -0700 (PDT) From: Linus Torvalds To: Robert Love cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] BUG(): sched.c: Line 944 In-Reply-To: <1032214552.1203.55.camel@phantasy> 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: 761 Lines: 21 On 16 Sep 2002, Robert Love wrote: > > But, ugh, more fun: we preempt_disable() in do_exit(). Every exiting > task hits the test. My syslog is huge. > > At least for now, can we please revert the check to in_interrupt() ? I really think the test is correct, and if we revert it now, we certainly won't be able to re-introduce it later when we're closer to 2.6. So if the in_atomic() change is enough to fix everything but do_exit(), then how about just making do_exit() use PREEMPT_ACTIVE instead? Linus - 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/