Re: Why Semaphore Hardware-Dependent?

From: Christoph Lameter
Date: Sun Aug 27 2006 - 18:12:07 EST


On Sun, 27 Aug 2006, Andi Kleen wrote:

> x86-64 always uses the spinlocked version (vs i386 using the atomic one)
> and I haven't heard of anybody complaining.

Ia64 has special counters for rwsemaphores. I'd like to see if there is
any performance loss. mmap_sem is a rwsemaphore. This is performance
critical.

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