Re: Config printk buffer size

From: Thomas Dodd (ted@cypress.com)
Date: Thu Apr 05 2001 - 09:46:16 EST


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/



This archive was generated by hypermail 2b29 : Sat Apr 07 2001 - 21:00:16 EST