Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 29 Jan 2002 07:59:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 29 Jan 2002 07:59:49 -0500 Received: from mx2.elte.hu ([157.181.151.9]:8139 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Tue, 29 Jan 2002 07:59:36 -0500 Date: Tue, 29 Jan 2002 15:57:02 +0100 (CET) From: Ingo Molnar Reply-To: To: Oliver Xymoron Cc: Martin Josefsson , Linus Torvalds , linux-kernel Subject: Re: [patch] [sched] yield speedup, 2.5.3-pre5 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 On Mon, 28 Jan 2002, Oliver Xymoron wrote: > > > > - spin_unlock_irq(&rq->lock); > > > > + spin_unlock(&rq->lock); > > normally yes, but in this case it's an optimization: schedule() will > > disable interrupts within a few cycles, so there is no point in enabling > > irqs for a short amount of time. > Needs a comment. agreed, John Levon suggested this too. I've added a comment to my tree, should show up in the next patches. Ingo - 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/