Re: Config printk buffer size

Thomas Dodd (ted@cypress.com)
Thu, 05 Apr 2001 09:46:16 -0500


Andrzej Krzysztofowicz wrote:
>
> IMO, it would be nice to add a test here whether the CONFIG_PRINTK_BUF_LEN
> value is really set as a power of two, eg.:
>
> #if (LOG_BUF_LEN & LOG_BUF_MASK)
> #error CONFIG_PRINTK_BUF_LEN must be a power of two
> #endif

I couldn't figure out how to do it in the config,
forgot about preprocessing. But Alan wants a menu
option instead.

Anyone who uses the embedded systems want
a different default? Let me know and I'll
put it in the default config files.
I'm sure a small hand held with fixed devices
doesn't need even a 8K buffer. Just don't know
which ones.

-Thomas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/