lkml.org 
[lkml]   [1998]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: New Feature Idea: Configurable text(msgs)
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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.042 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site