mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wedgwood <cw@f00f.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Kirill Korotaev <dev@sw.ru>,
	linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: Re: [PATCH] removes unnessary print of space
Date: Mon, 6 Sep 2004 05:17:47 -0700	[thread overview]
Message-ID: <20040906121747.GA9113@taniwha.stupidest.org> (raw)
In-Reply-To: <20040906000826.73157de6.akpm@osdl.org>

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

  parent reply	other threads:[~2004-09-06 12:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-06  7:07 Kirill Korotaev
2004-09-06  7:08 ` Andrew Morton
2004-09-06  8:34   ` Kirill Korotaev
2004-09-06  8:29     ` Andrew Morton
2004-09-06 16:33     ` Randy.Dunlap
2004-09-06 12:17   ` Chris Wedgwood [this message]
2004-09-06  7:57 ` Kalin KOZHUHAROV
2004-09-06  9:03   ` Tonnerre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040906121747.GA9113@taniwha.stupidest.org \
    --to=cw@f00f.org \
    --cc=akpm@osdl.org \
    --cc=dev@sw.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®