Re: New Feature Idea: Configurable text(msgs)

Pavel Machek (pavel@elf.ucw.cz)
Wed, 18 Mar 1998 13:32:02 +0100


Hi!

> (The grep is for cutting away characters that just happen to be
> printable) So that's 80K of a running kernel, or about 10% of the size
> "wasted" on strings.
>
> Presumably this could make a difference in systems short on RAM, like in
> an embedded environment? It doesn't sound too bloated for general
> server use, though - in particular, since the "bloat" would have to
> reside elsewhere (OK, so it could be swapped out more easily)

Many people did #define printk( a... ). It is simple, and it makes gcc
free that 80K. You do not want to kill messages from normal kernels
(or you do not want to kill boot-up and panic messages, and they are
hardly any more).

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu