[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1477368827.1998.1.camel@perches.com>
Date: Mon, 24 Oct 2016 21:13:47 -0700
From: Joe Perches <joe@...ches.com>
To: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Petr Mladek <pmladek@...e.cz>, Tejun Heo <tj@...nel.org>,
Calvin Owens <calvinowens@...com>,
Steven Rostedt <rostedt@...dmis.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: linux.git: printk() problem
On Tue, 2016-10-25 at 13:06 +0900, Sergey Senozhatsky wrote:
> so how about skipping mod_timer in deferred_cont_flush() and just
> cont_flush() when we are in oops? here is probably one more thing we
> need to "fix" first. oops_in_progress is unreliable. x86 oops_end()
> does bust_spinlocks(0) before it calls panic(). panic() increments
> oops_in_progress but decrements it back to 0 (bust_spinlocks(0)) before
> it does console_flush_on_panic(). so there is (almost) no way
> console_flush_on_panic() can see oops_in_progress != 0.
I think Linus' insistence on not requiring EOL/newline is misguided.
It'd be simpler to avoid the flushes and have a require EOL/newline.
Powered by blists - more mailing lists