linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Petr Mladek <pmladek@suse.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Peter Zijlstra <peterz@infradead.org>, Tejun Heo <tj@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] printk: wake up klogd in vprintk_emit
Date: Wed, 18 Apr 2018 11:10:38 -0400	[thread overview]
Message-ID: <20180418111038.209cc0cc@gandalf.local.home> (raw)
In-Reply-To: <20180418150214.z7oyughldrktj6e4@pathway.suse.cz>

On Wed, 18 Apr 2018 17:02:14 +0200
Petr Mladek <pmladek@suse.com> 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.

> 
> 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().

-- Steve

  reply	other threads:[~2018-04-18 15:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-14  3:01 [PATCH 2/2] printk: wake up klogd in vprintk_emit Sergey Senozhatsky
2018-04-18 14:04 ` Petr Mladek
2018-04-19  1:23   ` Sergey Senozhatsky
2018-04-19  9:54     ` Petr Mladek
2018-04-18 14:29 ` Steven Rostedt
2018-04-18 15:02   ` Petr Mladek
2018-04-18 15:10     ` Steven Rostedt [this message]
2018-04-19  1:17       ` Sergey Senozhatsky
2018-04-19  1:42 ` [PATCHv2] " Sergey Senozhatsky
2018-04-19 10:02   ` Petr Mladek
2018-04-20  1:52     ` Sergey Senozhatsky
2018-04-20  8:18       ` Petr Mladek
2018-04-25 13:23       ` Petr Mladek
2018-04-26  1:44         ` Sergey Senozhatsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180418111038.209cc0cc@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=pmladek@suse.com \
    --cc=sergey.senozhatsky@gmail.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).