Re: [PATCH RT 00/02] SLOB optimizations

George Anzinger
2005-12-22T21:47:41Z

> that's just the profiling interrupt hitting them. You should not analyze
> irq-safe code with a non-NMI profiling interrupt.
>
> CLI/STI is extremely fast. (In fact in the -rt tree i'm using them
> within mutexes instead of preempt_enable()/preempt_disable(), because
> they are faster and generate less register side-effect.)
>
Hm... I rather thought that the cli would cause a rather large hit on
the pipeline and certainly on OOE. Is your observation based on any
particular instruction stream? Sti, on the otherhand should be fast...
--
George Anzinger george@mvista.com
HRT (High-res-timers): http://sourceforge.net/projects/high-res-timers/