Re: [PATCH v2] locking/rwsem: reduce spinlock contention in wakeup after up_read/up_write

From: Jason Low
Date: Thu Apr 23 2015 - 16:42:46 EST


On Thu, 2015-04-23 at 14:24 -0400, Waiman Long wrote:

> The table below shows the % improvement in throughput (1100-2000 users)
> in the various AIM7's workloads:
>
> Workload % increase in throughput

Missing table here? :)

> ---
> include/linux/osq_lock.h | 5 +++
> kernel/locking/rwsem-xadd.c | 72 ++++++++++++++++++++++++++++++++++++++++++-
> 2 files changed, 76 insertions(+), 1 deletions(-)
>
> v1->v2:
> - Add a memory barrier before calling spin_trylock for proper memory
> ordering.


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