linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* request for 4.14-stable: fd5f7cde1b85 ("printk: Never set console_may_schedule in console_trylock()")
@ 2018-11-11 20:20 Sudip Mukherjee
  2018-11-19 15:18 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Sudip Mukherjee @ 2018-11-11 20:20 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: stable, Tetsuo Handa, Sergey Senozhatsky, Tejun Heo, akpm,
	linux-mm, Cong Wang, Dave Hansen, Johannes Weiner, Mel Gorman,
	Michal Hocko, Vlastimil Babka, Peter Zijlstra, Linus Torvalds,
	Jan Kara, Mathieu Desnoyers, Byungchul Park, Pavel Machek,
	Steven Rostedt, Petr Mladek

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

Hi Greg,

This was not marked for stable but seems it should be in stable.
Please apply to your queue of 4.14-stable.

--
Regards
Sudip

[-- Attachment #2: 0001-printk-Never-set-console_may_schedule-in-console_try.patch --]
[-- Type: text/x-diff, Size: 0 bytes --]



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

* Re: request for 4.14-stable: fd5f7cde1b85 ("printk: Never set console_may_schedule in console_trylock()")
  2018-11-11 20:20 request for 4.14-stable: fd5f7cde1b85 ("printk: Never set console_may_schedule in console_trylock()") Sudip Mukherjee
@ 2018-11-19 15:18 ` Greg Kroah-Hartman
  2018-11-20  2:23   ` Sergey Senozhatsky
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2018-11-19 15:18 UTC (permalink / raw)
  To: Sudip Mukherjee
  Cc: stable, Tetsuo Handa, Sergey Senozhatsky, Tejun Heo, akpm,
	linux-mm, Cong Wang, Dave Hansen, Johannes Weiner, Mel Gorman,
	Michal Hocko, Vlastimil Babka, Peter Zijlstra, Linus Torvalds,
	Jan Kara, Mathieu Desnoyers, Byungchul Park, Pavel Machek,
	Steven Rostedt, Petr Mladek

On Sun, Nov 11, 2018 at 08:20:45PM +0000, Sudip Mukherjee wrote:
> Hi Greg,
> 
> This was not marked for stable but seems it should be in stable.
> Please apply to your queue of 4.14-stable.

Now queued up, thanks.

greg k-h

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

* Re: request for 4.14-stable: fd5f7cde1b85 ("printk: Never set console_may_schedule in console_trylock()")
  2018-11-19 15:18 ` Greg Kroah-Hartman
@ 2018-11-20  2:23   ` Sergey Senozhatsky
  2018-11-20  2:28     ` Sergey Senozhatsky
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Senozhatsky @ 2018-11-20  2:23 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sudip Mukherjee
  Cc: stable, Tetsuo Handa, Sergey Senozhatsky, Tejun Heo, akpm,
	linux-mm, Cong Wang, Dave Hansen, Johannes Weiner, Mel Gorman,
	Michal Hocko, Vlastimil Babka, Peter Zijlstra, Linus Torvalds,
	Jan Kara, Mathieu Desnoyers, Byungchul Park, Pavel Machek,
	Steven Rostedt, Petr Mladek

On (11/19/18 16:18), Greg Kroah-Hartman wrote:
> On Sun, Nov 11, 2018 at 08:20:45PM +0000, Sudip Mukherjee wrote:
> > Hi Greg,
> > 
> > This was not marked for stable but seems it should be in stable.
> > Please apply to your queue of 4.14-stable.
> 
> Now queued up, thanks.

Very sorry for the late reply!

Greg, Sudip, the commit in question is known to be controversial. It
does fix some lockups, but it also does make printk non-atomic in some
cases: the printing task can get preempted which can cause printk
stalls (no messages on serial consoles, until the printing task gets
rescheduled again) in some dark-corner cases.

I think Tetsuo is the only person who ever reported printk stalls,
probably because he is the only person who is testing very tough
OOM-scenarios on a regular basis.

So, long story short, I call that commit "a mistake" and we have
reverted it upstream, to make printk always atomic (just like it
should be).

As of printk lockups, Steven Rostedt has contributed a much better
solution.

	-ss

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

* Re: request for 4.14-stable: fd5f7cde1b85 ("printk: Never set console_may_schedule in console_trylock()")
  2018-11-20  2:23   ` Sergey Senozhatsky
@ 2018-11-20  2:28     ` Sergey Senozhatsky
  2018-11-20  7:42       ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Senozhatsky @ 2018-11-20  2:28 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Sudip Mukherjee, stable, Tetsuo Handa, Sergey Senozhatsky,
	Tejun Heo, akpm, linux-mm, Cong Wang, Dave Hansen,
	Johannes Weiner, Mel Gorman, Michal Hocko, Vlastimil Babka,
	Peter Zijlstra, Linus Torvalds, Jan Kara, Mathieu Desnoyers,
	Byungchul Park, Pavel Machek, Steven Rostedt, Petr Mladek,
	Sergey Senozhatsky

On (11/20/18 11:23), Sergey Senozhatsky wrote:
> On (11/19/18 16:18), Greg Kroah-Hartman wrote:
> > On Sun, Nov 11, 2018 at 08:20:45PM +0000, Sudip Mukherjee wrote:
> > > Hi Greg,
> > > 
> > > This was not marked for stable but seems it should be in stable.
> > > Please apply to your queue of 4.14-stable.
> > 
> > Now queued up, thanks.
> 
> Very sorry for the late reply!
> 
> Greg, Sudip, the commit in question is known to be controversial

Yikes!! PLEASE *IGNORE MY PREVIOUS EMAIL*!


This is a *totally stupid* situation. I, somehow, got completely confused
and looked at the wrong commit ID.

Really sorry!

Yes, backporting fd5f7cde1b85 for stable is OK, no real objections.

	-ss

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

* Re: request for 4.14-stable: fd5f7cde1b85 ("printk: Never set console_may_schedule in console_trylock()")
  2018-11-20  2:28     ` Sergey Senozhatsky
@ 2018-11-20  7:42       ` Greg Kroah-Hartman
  0 siblings, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2018-11-20  7:42 UTC (permalink / raw)
  To: Sergey Senozhatsky
  Cc: Sudip Mukherjee, stable, Tetsuo Handa, Sergey Senozhatsky,
	Tejun Heo, akpm, linux-mm, Cong Wang, Dave Hansen,
	Johannes Weiner, Mel Gorman, Michal Hocko, Vlastimil Babka,
	Peter Zijlstra, Linus Torvalds, Jan Kara, Mathieu Desnoyers,
	Byungchul Park, Pavel Machek, Steven Rostedt, Petr Mladek

On Tue, Nov 20, 2018 at 11:28:41AM +0900, Sergey Senozhatsky wrote:
> On (11/20/18 11:23), Sergey Senozhatsky wrote:
> > On (11/19/18 16:18), Greg Kroah-Hartman wrote:
> > > On Sun, Nov 11, 2018 at 08:20:45PM +0000, Sudip Mukherjee wrote:
> > > > Hi Greg,
> > > > 
> > > > This was not marked for stable but seems it should be in stable.
> > > > Please apply to your queue of 4.14-stable.
> > > 
> > > Now queued up, thanks.
> > 
> > Very sorry for the late reply!
> > 
> > Greg, Sudip, the commit in question is known to be controversial
> 
> Yikes!! PLEASE *IGNORE MY PREVIOUS EMAIL*!
> 
> 
> This is a *totally stupid* situation. I, somehow, got completely confused
> and looked at the wrong commit ID.
> 
> Really sorry!

No worries, email is now ignored :)

greg k-h

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

end of thread, other threads:[~2018-11-20  7:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-11 20:20 request for 4.14-stable: fd5f7cde1b85 ("printk: Never set console_may_schedule in console_trylock()") Sudip Mukherjee
2018-11-19 15:18 ` Greg Kroah-Hartman
2018-11-20  2:23   ` Sergey Senozhatsky
2018-11-20  2:28     ` Sergey Senozhatsky
2018-11-20  7:42       ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).