Re: [PATCH] local_irq_disable removal

Thomas Gleixner
2005-06-12T00:00:04Z

On Sat, 2005-06-11 at 16:50 -0700, Daniel Walker wrote:
> > > Interesting .. So "cli" takes 7 cycles , "sti" takes 7 cycles. The current
> > > method does "lea" which takes 1 cycle, and "or" which takes 1 cycle. I'm
> > > not sure if there is any function call overhead .. So the soft replacment
> > > of cli/sti is 70% faster on a per instruction level .. So it's at least
> > > not any slower .. Does everyone agree on that?
> >
> > No, because x86 is not the whole universe
>
> It's only implemented on x86 .

Interesting POV.

What's not implemented by you does not exist.

tglx