mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Kirill Ratkin <kratkin@yahoo.com>
Cc: Gangadhar Uppala <gangadhar.uppala@wipro.com>,
	linux-kernel@vger.kernel.org
Subject: Re: How to exchange data between Kernel & User Space
Date: Wed, 26 Sep 2001 10:05:56 +0300	[thread overview]
Message-ID: <20010926100556.F11046@mea-ext.zmailer.org> (raw)
In-Reply-To: <20010926074142.E11046@mea-ext.zmailer.org> <20010926061124.61082.qmail@web11907.mail.yahoo.com>
In-Reply-To: <20010926061124.61082.qmail@web11907.mail.yahoo.com>; from kratkin@yahoo.com on Tue, Sep 25, 2001 at 11:11:24PM -0700

On Tue, Sep 25, 2001 at 11:11:24PM -0700, Kirill Ratkin wrote:
> Use mmap and see exmaple here:
> http://www.kernelnewbies.org/code/mmap/

	That is partial possibility, but the example is
	incomplete, and dangerous in case the machine
	has more than about 800 MB memory. (E.g. it has,
	and uses, HIGHMEM facility.)

	It is also completely wrong approach in case
	the interface does not need to be high bandwidth
	payload delivering directly into user space,
	but e.g. control some aspects of hardware.
	("network interface" sounds, to me, very much
	 of NETDEV class device at which MMAP tricks
	 in general are wrong.)

	The person asking for pointers didn't give
	enough details for good advice.  Supplying
	the many ropes which Linux has for hanging
	oneself is not a good advice.

> Regards,

  /Matti Aarnio

      reply	other threads:[~2001-09-26  7:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-26  3:51 Gangadhar Uppala
2001-09-26  4:41 ` Matti Aarnio
2001-09-26  6:11   ` Kirill Ratkin
2001-09-26  7:05     ` Matti Aarnio [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=20010926100556.F11046@mea-ext.zmailer.org \
    --to=matti.aarnio@zmailer.org \
    --cc=gangadhar.uppala@wipro.com \
    --cc=kratkin@yahoo.com \
    --cc=linux-kernel@vger.kernel.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®