From: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
To: Jan Kara <jack@suse.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Petr Mladek <pmladek@suse.cz>, KY Srinivasan <kys@microsoft.com>,
Steven Rostedt <rostedt@goodmis.org>,
linux-kernel@vger.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Subject: Re: [PATCH 2/7] printk: Start printing handover kthreads on demand
Date: Thu, 10 Dec 2015 23:56:07 +0900 [thread overview]
Message-ID: <20151210145607.GB540@swordfish> (raw)
> +static void printk_offload_init(void)
> +{
> + mutex_lock(&printk_kthread_mutex);
> + if (num_possible_cpus() <= 1) {
> + /* Offloading doesn't make sense. Disable print offloading. */
> + printk_offload_chars = 0;
> + } else
> + printk_start_offload_kthreads();
> + mutex_unlock(&printk_kthread_mutex);
> +}
A silly minor nitpick
+ } else {
printk_start_offload_kthreads();
+ }
-ss
next reply other threads:[~2015-12-10 15:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 14:56 Sergey Senozhatsky [this message]
2015-12-10 15:06 ` [PATCH 2/7] printk: Start printing handover kthreads on demand Sergey Senozhatsky
-- strict thread matches above, loose matches on Subject: below --
2015-10-26 4:52 [PATCH 0/6 v2] printk: Softlockup avoidance Jan Kara
2015-10-26 4:52 ` [PATCH 2/7] printk: Start printing handover kthreads on demand Jan Kara
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=20151210145607.GB540@swordfish \
--to=sergey.senozhatsky@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=jack@suse.com \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pmladek@suse.cz \
--cc=rostedt@goodmis.org \
--cc=sergey.senozhatsky.work@gmail.com \
/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