On Wed, 2005-03-09 at 16:34 +0530, Suparna Bhattacharya wrote: > Any sense of how costly it is to use spin_lock_irq's vs spin_lock > (across different architectures) ? Isn't rwsem used very widely ?
oh also rwsems aren't used all that much simply because they are quite more expensive than regular semaphores, so that you need a HUGE bias in reader/writer ratio to make it even worth it... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

