lkml.org 
[lkml]   [2002]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] [sched] yield speedup, 2.5.3-pre5

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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.041 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site