Re: [PATCH] printk: Shrink printk_sched buffer size, eliminate itwhen !CONFIG_PRINTK

From: Joe Perches
Date: Tue Jun 05 2012 - 12:04:25 EST


On Tue, 2012-05-29 at 11:17 -0700, Joe Perches wrote:
> The size of the per-cpu printk_sched buf is much larger
> than necessary. The maximum sched message emitted is
> ~80 bytes. Shrink the allocation for this printk_sched
> buffer from 512 bytes to 128.
>
> printk_sched creates an unnecessary per-cpu buffer when
> CONFIG_PRINTK is not enabled. Remove it when appropriate
> so embedded uses save a bit of space too.

Ingo, what's happening with this patch?


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