Re: [patch 2/3] Directed yield: direct yield of spinlocks for powerpc.
From: Paul Mackerras
Date: Thu Sep 21 2006 - 08:35:51 EST
Martin Schwidefsky writes:
> Powerpc already has a directed yield for CONFIG_PREEMPT="n". To make
> it work with CONFIG_PREEMPT="y" as well the _raw_{spin,read,write}_relax
> primitives need to be defined to call __spin_yield() for spinlocks and
> __rw_yield() for rw-locks.
Acked-by: Paul Mackerras <paulus@xxxxxxxxx>
-
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/