Messages in this thread | | | From | "Oliver Henning" <> | Subject | spin_unlock optimization | Date | Wed, 29 Dec 1999 19:44:02 +0100 |
| |
Hi,
as was mentioned on Kernel Traffic, the spin_unlock optimization (movb $0,%0 instead of lock; btrl $0,%0) is not used at last. But could there be a detection routine (I know this is not a completely new and innovative idea) for those older PPro CPUs that require the slow version so that in the sane cases the optimization would be used. At least, IMHO it should be a compile-time option (defaulting to the slow version) to activate the fast version.
Greetings, Oliver Henning
"Changeless repetion is madness."
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |