[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200425004609.GE8982@jagdpanzerIV.localdomain>
Date: Sat, 25 Apr 2020 09:46:09 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
Cc: Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel@...r.kernel.org, Dmitry Safonov <dima@...sta.com>,
Michal Hocko <mhocko@...e.com>,
Yafang Shao <laoar.shao@...il.com>
Subject: Re: [PATCH] printk: Add loglevel for "do not print to consoles".
On (20/04/24 11:42), Tetsuo Handa wrote:
[..]
> @@ -19,6 +19,7 @@ static inline int printk_get_level(const char *buffer)
> switch (buffer[1]) {
> case '0' ... '7':
> case 'c': /* KERN_CONT */
> + case 'S': /* KERN_NO_CONSOLES */
> return buffer[1];
> }
> }
So this means NO_CONSOLES_AT_ALL, slow + fast ones. I wonder if this
wants to be NO_SLOW_CONSOLES instead. Which then brings us to the
next question - can this be done with per-console loglevel setting?
-ss
Powered by blists - more mailing lists