Re: [PATCH 2/7] printk: Start printing handover kthreads on demand

From: Sergey Senozhatsky
Date: Thu Dec 10 2015 - 10:06:26 EST


> +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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/