Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Aug 2002 14:27:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Aug 2002 14:27:48 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:24325 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Thu, 29 Aug 2002 14:27:46 -0400 Date: Thu, 29 Aug 2002 11:38:24 -0700 (PDT) From: Linus Torvalds To: Robert Love cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] misc. kernel preemption bits In-Reply-To: <1030635181.978.2559.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: 652 Lines: 21 On 29 Aug 2002, Robert Love wrote: > > - we have a debug check in preempt_schedule that, even > on detecting a schedule with irqs disabled, still goes > ahead and reschedules. We should return. (me) I think we should return silently, and simply consider the case of disabled local interrupts to be equivalent to having preemption disabled. So I would remove even the warning. Comments? 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/