Re: [PATCH RT 00/02] SLOB optimizations

From: George Anzinger
Date: Thu Dec 22 2005 - 16:46:40 EST




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@xxxxxxxxxx
HRT (High-res-timers): http://sourceforge.net/projects/high-res-timers/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/