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

From: Joe Perches
Date: Wed Jun 06 2012 - 03:42:23 EST


On Wed, 2012-06-06 at 09:33 +0200, Ingo Molnar wrote:
> The change makes sense but the further proliferation of #ifdefs
> is rather ugly and shows confusion: fundamentally, if we are
> going to cut out more printk functionality in the !CONFIG_PRINTK
> we might as well disable the whole thing, not just the
> printk_sched bits.

I fundamentally agree, but I (or another sucker) get
around to actually refactoring printk into multiple
logical components, this is the simplest way to go
because it's guaranteed to work.

When it's refactored, a lot of the CONFIG tests should
go away.

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