linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Jan Hudec <bulb@ucw.cz>
Cc: hunjeh@celetron.com, kernelnewbies@nl.linux.org,
	linux-mm@kvack.org, wli@holomorphy.com
Subject: Re: questions on swapping
Date: Tue, 29 Apr 2003 08:24:31 -0700	[thread overview]
Message-ID: <20030429082431.21679c0f.rddunlap@osdl.org> (raw)
In-Reply-To: <20030429112829.GD668@vagabond>

On Tue, 29 Apr 2003 13:28:29 +0200 Jan Hudec <bulb@ucw.cz> wrote:

| On Tue, Apr 29, 2003 at 04:52:36PM +0530, Heerappa Hunje wrote:
| > Thanks for the information, well i have following difficulties.
| > 1. How to handle/write the Bottom Half part of Interrupt for Device Drivers
| > 2. If any error, then the messages during the running of Device Driver
| > modules where(in which file) they are written by Kernel, or we have to
| > specify the location/Pathname of file during the implimentation.
| 
| Kernel prints messages using the printk function. It writes them to the
| active console and makes them available via a magic file in /proc
| filesystem where they are picked by klogd and passed to syslogd.

Try this paragraph instead:
Kernel prints messages using the printk function.  printk queues messages
to a ring buffer.  Messages are pulled from the ring buffer by syslog
or klog using the syslog system call.
Console messages are printed to all registered console output methods,
such as ones for the video console, serial console, printer, etc.

(no magic /proc file)

| printk is specially crafted so that it can be called from any point of
| kernel (including interrupt context).

--
~Randy
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2003-04-29 15:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 11:22 Heerappa Hunje
2003-04-29 11:28 ` Jan Hudec
2003-04-29 15:24   ` Randy.Dunlap [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29 13:28 Heerappa Hunje
2003-04-28  9:37 Heerappa Hunje
2003-04-28  9:47 ` William Lee Irwin III
2003-04-29  8:03 ` Jan Hudec
2003-04-28  9:32 Heerappa Hunje
2003-04-28  7:54 Heerappa Hunje
2003-04-29  7:57 ` Jan Hudec
2003-04-28  7:32 Patwardhan, Aniruddha
2003-04-28  7:16 Heerappa Hunje
2003-04-28  7:26 ` William Lee Irwin III

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=20030429082431.21679c0f.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=bulb@ucw.cz \
    --cc=hunjeh@celetron.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-mm@kvack.org \
    --cc=wli@holomorphy.com \
    /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