[QUESTION] The cost of local interrupt enable/disable

From: Tejun Heo
Date: Sat Sep 17 2005 - 09:04:22 EST



Hello, guys.

I'm curious about the cost of local_irq_enable/disable()'s on various architectures. I found a freebsd discussion thread by googling which says that each takes 3 cycles on i386 (very cheap), but for Pentium4, people are talking in the order of several hundreds cycles. Are these correct? How about other architectures?

TIA.

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