Re: [patch] [sched] yield speedup, 2.5.3-pre5

From: Martin Josefsson (gandalf@wlug.westbo.se)
Date: Mon Jan 28 2002 - 12:10:16 EST


On Mon, 28 Jan 2002, Ingo Molnar wrote:

Hi Ingo,

I'm not an spinlock expert but shouldn't you use spin_unlock_irq() when it
was locked with spin_lock_irq() ?

        spin_lock_irq(&rq->lock);

> - spin_unlock_irq(&rq->lock);
> + spin_unlock(&rq->lock);

/Martin

Never argue with an idiot. They drag you down to their level, then beat you with experience.

-
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/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:47 EST