Re: [PATCH 4/4] printk: Use unbound irq work for printing andwaking

From: Steven Rostedt
Date: Wed Aug 21 2013 - 15:24:59 EST


On Wed, 21 Aug 2013 10:08:32 +0200
Jan Kara <jack@xxxxxxx> wrote:

> Now when per-cpu printk buffers are gone, there's no need to have printk
> flags or printk irq_work per cpu. Just make printk_pending a single
> variable operated by atomic operations and have single unbound irq work
> doing the waking and printing. This has an advantage that any cpu can do the
> printing / wakeup work thus lowering the latency of printing and better
> distributing the printing work over cpus.
>
> Signed-off-by: Jan Kara <jack@xxxxxxx>
> ---

Reviewed-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve
--
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/