[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200930004852.GA987@jagdpanzerIV.localdomain>
Date: Wed, 30 Sep 2020 09:48:52 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Petr Mladek <pmladek@...e.com>,
Chengming Zhou <zhouchengming@...edance.com>,
maarten.lankhorst@...ux.intel.com, mripard@...nel.org,
tzimmermann@...e.de, airlied@...ux.ie, daniel@...ll.ch,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
sergey.senozhatsky@...il.com, rostedt@...dmis.org,
mingo@...hat.com, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
bsegall@...gle.com, mgorman@...e.de, songmuchun@...edance.com,
john.ogness@...utronix.de
Subject: Re: [External] Re: [PATCH 2/2] sched: mark
PRINTK_DEFERRED_CONTEXT_MASK in __schedule()
On (20/09/29 17:09), Peter Zijlstra wrote:
> > 2. The registration and unregistration of consoles should not longer
> > be handled by console_lock (semaphore). It should be possible to
> > call most consoles without a sleeping lock. It should remove all
> > these deadlocks between printk() and scheduler().
>
> I'm confused, who cares about registation? That only happens once at
> boot, right?
You can modprobe or rmmod (register/unregister) netconsole anytime,
for example.
-ss
Powered by blists - more mailing lists