Messages in this thread | | | Date | Tue, 20 Dec 2005 10:27:12 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [patch 04/15] Generic Mutex Subsystem, add-atomic-call-func-x86_64.patch |
| |
On Tue, 20 Dec 2005, Nicolas Pitre wrote: > > Sure, and we're now more costly than the current implementation with irq > disabling.
Do the timing. It may be more instructions, but I think it was you yourself that timed the current thing at 23 cycles, no?
Special registers are almost always slower than nicely cached accesses (and they all basically will be).
Linus - 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/
| |