linux-um archives
 help / color / mirror / Atom feed
From: Werner Almesberger <werner@almesberger.net>
To: Henrik Nordstrom <hno@marasystems.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] RFC: lossless printk
Date: Thu, 1 Apr 2004 12:36:22 -0300	[thread overview]
Message-ID: <20040401123622.D28573@almesberger.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0404011252320.1814-100000@filer.marasystems.com>; from hno@marasystems.com on Thu, Apr 01, 2004 at 12:58:01PM +0200

Henrik Nordstrom wrote:
> This won't work properly. What you need is something like:

Hmm, if the destination is "stuck", you should get ENOSPC or EAGAIN
in the next iteration after a partial write. Someone may make us work
particularly hard by only allowing only a few bytes at a time, but
I'm not sure printk should worry about this.

> Not sure about this.. should probably just drop the writes then and return
> an error. The console may have been hung up by various reasons, and I do
> not think this should kill the kernel.

Yes, that might be nicer.

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina     werner@almesberger.net /
/_http://www.almesberger.net/____________________________________________/


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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:[~2004-04-01 15:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-01  7:25 [uml-devel] RFC: lossless printk Werner Almesberger
2004-04-01 10:58 ` Henrik Nordstrom
2004-04-01 15:36   ` Werner Almesberger [this message]
2004-04-01 17:42     ` Henrik Nordstrom
2004-04-01 18:28       ` Werner Almesberger
2004-04-01 20:36         ` Henrik Nordstrom
     [not found] ` <Pine.LNX.4.58.0404010149580.13832@gradall.private.brainfood.com>
2004-04-01 11:30   ` Werner Almesberger
2004-04-01 11:48     ` Henrik Nordstrom
2004-04-02 20:19       ` Werner Almesberger

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=20040401123622.D28573@almesberger.net \
    --to=werner@almesberger.net \
    --cc=hno@marasystems.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