On 01/20/2014 10:21 AM, Peter Zijlstra wrote:
On Tue, Jan 14, 2014 at 11:44:03PM -0500, Waiman Long wrote:
+#ifndef arch_mutex_cpu_relax
+# define arch_mutex_cpu_relax() cpu_relax()
+#endif
Include
Will do so.
+#ifndef smp_load_acquire
+# ifdef CONFIG_X86
+# define smp_load_acquire(p)
On 01/20/2014 10:21 AM, Peter Zijlstra wrote:
On Tue, Jan 14, 2014 at 11:44:03PM -0500, Waiman Long wrote:
+#ifndef arch_mutex_cpu_relax
+# define arch_mutex_cpu_relax() cpu_relax()
+#endif
Includelinux/mutex.h
Will do so.
+#ifndef smp_load_acquire
+# ifdef CONFIG_X86
+# define
On Tue, Jan 14, 2014 at 11:44:03PM -0500, Waiman Long wrote:
> +#ifndef arch_mutex_cpu_relax
> +# define arch_mutex_cpu_relax() cpu_relax()
> +#endif
Include
> +#ifndef smp_load_acquire
> +# ifdef CONFIG_X86
> +# define smp_load_acquire(p) \
> + ({
On Tue, Jan 14, 2014 at 11:44:03PM -0500, Waiman Long wrote:
+#ifndef arch_mutex_cpu_relax
+# define arch_mutex_cpu_relax() cpu_relax()
+#endif
Include linux/mutex.h
+#ifndef smp_load_acquire
+# ifdef CONFIG_X86
+# define smp_load_acquire(p) \
+ ({
This patch introduces a new read/write lock implementation that put
waiting readers and writers into a queue instead of actively contending
the lock like the current read/write lock implementation. This will
improve performance in highly contended situation by reducing the
cache line bouncing
This patch introduces a new read/write lock implementation that put
waiting readers and writers into a queue instead of actively contending
the lock like the current read/write lock implementation. This will
improve performance in highly contended situation by reducing the
cache line bouncing
6 matches
Mail list logo