Re: [PATCH, v2] anon_vmas: Convert the rwsem to an rwlock_t

From: Peter Zijlstra
Date: Mon Sep 30 2013 - 14:15:06 EST


On Mon, Sep 30, 2013 at 10:10:27AM -0700, Tim Chen wrote:
> Here's the exim workload data:
>
> rwsem improvment:
> Waimain's patch: +2.0%
> Alex+Tim's patchset: +4.8%
> Waiman+Alex+Tim: +5.3%
>
> convert rwsem to rwlock_t for root anon_vma lock
> Ingo's patch +11.7%
>

What happens if you stuff Waiman's qrwlock patches on top of that?
admittedly and oft mentioned in this thread, our current rwlock_t is
somewhat suboptimal under a number of conditions.
--
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/