Re: [GIT PULL] locking changes for v5.2

From: Ingo Molnar
Date: Tue May 07 2019 - 04:25:08 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Mon, May 6, 2019 at 12:43 PM Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> >
> > Sure - how close is this to a straight:
> >
> > git revert 70800c3c0cc5
>
> It's not really a revert. The code is different (and better) from the
> straight revert, but perhaps equally importantly it also ends up with
> a big comment about what's going on that made the original commit
> wrong.
>
> So I'd suggest just taking the patch as-is, and not calling it a
> revert. It may revert to the original _model_ of wakup list traversal,
> but it does so differently enough that the patch itself is not a
> revert.

Ok, Waiman's patch is now the following commit in locking/urgent:

a9e9bcb45b15: ("locking/rwsem: Prevent decrement of reader count before increment")

it should get to you in a couple of days.

Thanks,

Ingo