All of lore.kernel.org
 help / color / mirror / Atom feed
* Backport patch "mm: fix missing handler for __GFP_NOWARN" to linux-5.10.y
@ 2022-09-09  3:40 Ye Weihua
  2022-09-10  6:34 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Ye Weihua @ 2022-09-09  3:40 UTC (permalink / raw)
  To: stable

The following patch is required to be patched in linux-5.10.y:


     3f913fc5f974 mm: fix missing handler for __GFP_NOWARN


Commit 6b9dbedbe349 ("tty: fix deadlock caused by calling printk() under 
tty_port->lock")

was backported to linux-5.10.y. But __GFP_NOWARN flag is still not check 
in fail_dump(), and

deadlock issues still occur.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Backport patch "mm: fix missing handler for __GFP_NOWARN" to linux-5.10.y
  2022-09-09  3:40 Backport patch "mm: fix missing handler for __GFP_NOWARN" to linux-5.10.y Ye Weihua
@ 2022-09-10  6:34 ` Greg KH
  2022-09-13  2:21   ` Ye Weihua
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2022-09-10  6:34 UTC (permalink / raw)
  To: Ye Weihua; +Cc: stable

On Fri, Sep 09, 2022 at 11:40:07AM +0800, Ye Weihua wrote:
> The following patch is required to be patched in linux-5.10.y:
> 
> 
>     3f913fc5f974 mm: fix missing handler for __GFP_NOWARN
> 
> 
> Commit 6b9dbedbe349 ("tty: fix deadlock caused by calling printk() under
> tty_port->lock")
> 
> was backported to linux-5.10.y. But __GFP_NOWARN flag is still not check in
> fail_dump(), and
> 
> deadlock issues still occur.
> 

What about all of the other stable kernel trees that the tty patch was
backported to?  Do they also need the mm change as well?  That would
include 4.9.y, 4.14.y, 4.19.y, 5.4.y, 5.10.y, and 5.15.y.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Backport patch "mm: fix missing handler for __GFP_NOWARN" to linux-5.10.y
  2022-09-10  6:34 ` Greg KH
@ 2022-09-13  2:21   ` Ye Weihua
  2022-09-13 11:33     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Ye Weihua @ 2022-09-13  2:21 UTC (permalink / raw)
  To: Greg KH; +Cc: stable


On 2022/9/10 14:34, Greg KH wrote:
> On Fri, Sep 09, 2022 at 11:40:07AM +0800, Ye Weihua wrote:
>> The following patch is required to be patched in linux-5.10.y:
>>
>>
>>      3f913fc5f974 mm: fix missing handler for __GFP_NOWARN
>>
>>
>> Commit 6b9dbedbe349 ("tty: fix deadlock caused by calling printk() under
>> tty_port->lock")
>>
>> was backported to linux-5.10.y. But __GFP_NOWARN flag is still not check in
>> fail_dump(), and
>>
>> deadlock issues still occur.
>>
> What about all of the other stable kernel trees that the tty patch was
> backported to?  Do they also need the mm change as well?  That would
> include 4.9.y, 4.14.y, 4.19.y, 5.4.y, 5.10.y, and 5.15.y.

I checked the branches and found that the status of each branch was the 
same. That is, the commit 6b9dbedbe349 ("tty: fix deadlock caused by 
calling printk() under tty_port->lock") was backported but the commit 
3f913fc5f974 ("mm: fix missing handler for __GFP_NOWARN") was not. 
Therefore, the problem occurred in all branches. The commit "mm: fix 
missing handler for __GFP_NOWARN" should be backported to 4.9.y, 4.14.y, 
4.19.y, 5.4.y, 5.10.y, and 5.15.y.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Backport patch "mm: fix missing handler for __GFP_NOWARN" to linux-5.10.y
  2022-09-13  2:21   ` Ye Weihua
@ 2022-09-13 11:33     ` Greg KH
  2022-09-14  2:58       ` Ye Weihua
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2022-09-13 11:33 UTC (permalink / raw)
  To: Ye Weihua; +Cc: stable

On Tue, Sep 13, 2022 at 10:21:38AM +0800, Ye Weihua wrote:
> 
> On 2022/9/10 14:34, Greg KH wrote:
> > On Fri, Sep 09, 2022 at 11:40:07AM +0800, Ye Weihua wrote:
> > > The following patch is required to be patched in linux-5.10.y:
> > > 
> > > 
> > >      3f913fc5f974 mm: fix missing handler for __GFP_NOWARN
> > > 
> > > 
> > > Commit 6b9dbedbe349 ("tty: fix deadlock caused by calling printk() under
> > > tty_port->lock")
> > > 
> > > was backported to linux-5.10.y. But __GFP_NOWARN flag is still not check in
> > > fail_dump(), and
> > > 
> > > deadlock issues still occur.
> > > 
> > What about all of the other stable kernel trees that the tty patch was
> > backported to?  Do they also need the mm change as well?  That would
> > include 4.9.y, 4.14.y, 4.19.y, 5.4.y, 5.10.y, and 5.15.y.
> 
> I checked the branches and found that the status of each branch was the
> same. That is, the commit 6b9dbedbe349 ("tty: fix deadlock caused by calling
> printk() under tty_port->lock") was backported but the commit 3f913fc5f974
> ("mm: fix missing handler for __GFP_NOWARN") was not. Therefore, the problem
> occurred in all branches. The commit "mm: fix missing handler for
> __GFP_NOWARN" should be backported to 4.9.y, 4.14.y, 4.19.y, 5.4.y, 5.10.y,
> and 5.15.y.

Ok, can you provide a proper backport that has been tested for all of
these branches as it does not apply cleanly as-is.

Or we can revert the tty patch, which do you think is better?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Backport patch "mm: fix missing handler for __GFP_NOWARN" to linux-5.10.y
  2022-09-13 11:33     ` Greg KH
@ 2022-09-14  2:58       ` Ye Weihua
  0 siblings, 0 replies; 5+ messages in thread
From: Ye Weihua @ 2022-09-14  2:58 UTC (permalink / raw)
  To: Greg KH; +Cc: stable


On 2022/9/13 19:33, Greg KH wrote:
> On Tue, Sep 13, 2022 at 10:21:38AM +0800, Ye Weihua wrote:
>> On 2022/9/10 14:34, Greg KH wrote:
>>> On Fri, Sep 09, 2022 at 11:40:07AM +0800, Ye Weihua wrote:
>>>> The following patch is required to be patched in linux-5.10.y:
>>>>
>>>>
>>>>       3f913fc5f974 mm: fix missing handler for __GFP_NOWARN
>>>>
>>>>
>>>> Commit 6b9dbedbe349 ("tty: fix deadlock caused by calling printk() under
>>>> tty_port->lock")
>>>>
>>>> was backported to linux-5.10.y. But __GFP_NOWARN flag is still not check in
>>>> fail_dump(), and
>>>>
>>>> deadlock issues still occur.
>>>>
>>> What about all of the other stable kernel trees that the tty patch was
>>> backported to?  Do they also need the mm change as well?  That would
>>> include 4.9.y, 4.14.y, 4.19.y, 5.4.y, 5.10.y, and 5.15.y.
>> I checked the branches and found that the status of each branch was the
>> same. That is, the commit 6b9dbedbe349 ("tty: fix deadlock caused by calling
>> printk() under tty_port->lock") was backported but the commit 3f913fc5f974
>> ("mm: fix missing handler for __GFP_NOWARN") was not. Therefore, the problem
>> occurred in all branches. The commit "mm: fix missing handler for
>> __GFP_NOWARN" should be backported to 4.9.y, 4.14.y, 4.19.y, 5.4.y, 5.10.y,
>> and 5.15.y.
> Ok, can you provide a proper backport that has been tested for all of
> these branches as it does not apply cleanly as-is.
>
> Or we can revert the tty patch, which do you think is better?

Ok, I will send a backport for these branches soon. Thank you for the 
reminder.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-14  2:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09  3:40 Backport patch "mm: fix missing handler for __GFP_NOWARN" to linux-5.10.y Ye Weihua
2022-09-10  6:34 ` Greg KH
2022-09-13  2:21   ` Ye Weihua
2022-09-13 11:33     ` Greg KH
2022-09-14  2:58       ` Ye Weihua

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.