linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [patch 094/241] uml: fix error output during early boot
Date: Mon, 12 Feb 2007 19:59:15 +0100	[thread overview]
Message-ID: <200702121959.15722.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20070210222157.GA3750@ccure.user-mode-linux.org>

On Saturday 10 February 2007 23:21, Jeff Dike wrote:
> On Sat, Feb 10, 2007 at 01:31:20PM +0100, Blaisorblade wrote:
> > libc's printf has an enormous stack usage, so that my_printf is used for
> > direct output instead of printf; if this is ok because it's bootup
> > code,
>
> It is bootup code only.
>
> > then *fatal* should be marked as "bootup code only";
>
> OK.
>
> > otherwise
> > we may reuse vsprintf() and write() or fputs(); this should match
> > what happens in my_printf, to avoid any unlikely problem with libc's
> > buffering.
>
> Offhand, I would say that if we are on a kernel stack, printk is safe
> to use, and should be used, so there's no need for things like
> my_printf.  Maybe there are some exceptions in early boot when the
> kernel is running, but before the console is working, but I can't
> think of any problems we've had like that.

It's for no_config_chan (don't recall the right name), i.e. for when the 
console will never work because of a misconfiguration. Indeed it's static 
(and otherwise it ought to have a better name!).

-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2007-02-12 18:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200702100944.l1A9iSEp008813@shell0.pdx.osdl.net>
2007-02-10 12:31 ` [uml-devel] [patch 094/241] uml: fix error output during early boot Blaisorblade
2007-02-10 22:21   ` Jeff Dike
2007-02-12 18:59     ` Blaisorblade [this message]

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=200702121959.15722.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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