lkml.org 
[lkml]   [2004]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] removes unnessary print of space
On Mon, Sep 06, 2004 at 12:08:26AM -0700, Andrew Morton wrote:

> Until some smarty comes along and optimises printk() to skip empty
> strings.

define the bahavior to disallow that

> An explicit wake_up_klogd() thing might make sense, rather than
> relying upon side-effects.

what about something like:

#define wake_up_klogd() (printk(NULL))

then? and have printk short-circuit where required when it gets NULL
but still wake the console up?


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

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