Re: [PATCH v2 00/13] rwsem fast-path write lock stealing

From: Michel Lespinasse
Date: Sat Apr 27 2013 - 19:47:56 EST


On Sat, Apr 27, 2013 at 2:15 PM, Davidlohr Bueso <davidlohr.bueso@xxxxxx> wrote:
> Hi Michel,
>
> On Fri, 2013-03-15 at 03:54 -0700, Michel Lespinasse wrote:
>> These patches extend Alex Shi's work (which added write lock stealing
>> on the rwsem slow path) in order to provide rwsem write lock stealing
>> on the fast path (that is, without taking the rwsem's wait_lock).
>>
>> I initially sent a shorter series shortly before v3.9, however some
>> patches were doing too much at once which made them confusing to
>> review. I have now split the series at a smaller granularity;
>> hope this will help :)
>
> Coincidentally, I was doing some similar work with similar results. But
> I have to say I like your series and cleanups better than mine :)
>
> I've run a few tests on this patchset and I'm pretty happy with the
> numbers. The first series of tests were on my quad-core laptop running
> pgbench on three different database sizes, each with various number of
> clients:

Thanks a lot for this testing. I was getting discouraged with this
series, as I would have hoped for it to be picked in -next a long long
time ago. Anyway, I will resend a v3 with the (mostly style) updates I
got from everyone on v2 and try submitting it to Linus.

--
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
--
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/