[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151210145607.GB540@swordfish>
Date: Thu, 10 Dec 2015 23:56:07 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Jan Kara <jack@...e.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Petr Mladek <pmladek@...e.cz>,
KY Srinivasan <kys@...rosoft.com>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel@...r.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Subject: Re: [PATCH 2/7] printk: Start printing handover kthreads on demand
> +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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists