Re: [PATCH 3.16 23/99] tty/ldsem: Wake up readers after timed out down_write()

From: Ben Hutchings
Date: Tue May 07 2019 - 14:39:09 EST


On Tue, 2019-04-02 at 15:39 +0100, Dmitry Safonov wrote:
> On 4/2/19 3:32 PM, Ben Hutchings wrote:
> > On Tue, 2019-04-02 at 15:22 +0100, Dmitry Safonov wrote:
[...]
> > > - "tty: Hold tty_ldisc_lock() during tty_reopen()" commit 83d817f41070
> > > with follow-up fixup "tty: Don't hold ldisc lock in tty_reopen() if
> > > ldisc present"
> > > commit d3736d82e816
> > [...]
> >
> > I will include these in a later update, unless you think they are
> > really urgent and should be added to this one.
>
> Well, I thought worth to mention those patches, but in reality haven't
> checked if they are applicable to v3.16.
> It's just I remember "tty: Hold tty_ldisc_lock() during tty_reopen()"
> was the main fix in the set, as many people suffered from issue under
> it, so I thought strange that only a side-patch (which can lead to soft
> lockup, so probably also important) is ported. But I managed to forget
> that the code has changes since v3.16.

I couldn't see how to apply these to 3.16, so you will need to send me
backports if they are needed. They are also missing from 3.18 and 4.4.

Ben.

--
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.


Attachment: signature.asc
Description: This is a digitally signed message part