[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180419011728.GA2700@jagdpanzerIV>
Date: Thu, 19 Apr 2018 10:17:28 +0900
From: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] printk: wake up klogd in vprintk_emit
On (04/18/18 11:10), Steven Rostedt wrote:
>
> > > Calling wake_up_klogd() will grab the rq lock and give us a A-B<->B-A
> > > locking order.
> >
> > wake_up_klogd() uses the lockless irq_work_queue(). So it is actually
> > safe.
>
> I didn't look at the code. OK then we don't need to worry about that.
OK.
> >
> > But the name is confusing. We should rename it.
>
> Yes, I would because the old wake_up_klogd() did do a wakeup. Perhaps
> we should name it: kick_klogd().
Agreed.
-ss
Powered by blists - more mailing lists