All of lore.kernel.org
 help / color / mirror / Atom feed
From: Folkert van Heusden <folkert@vanheusden.com>
To: linux-kernel@vger.kernel.org
Subject: zero-copy read() interface
Date: Thu, 18 Aug 2005 12:01:52 +0200	[thread overview]
Message-ID: <20050818100151.GF12313@vanheusden.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

What about a zero-copy read-interface?
An ioctl (or something) which enables the kernel to do dma directly to
the userspace. Of course this should be limited to the root-user or a
user with special capabilities (rights) since if a drive screws up, data
from a different sector (or so) might end up in the proces' memory. Of
course copying a sector from kernel- to userspace can be done pretty
fast but i.m.h.o. all possible speedimprovements should be made unless
unclean.


Folkert van Heusden

-- 
Auto te koop, zie: http://www.vanheusden.com/daihatsu.php
----------------------------------------------------------------------
Get your PGP/GPG key signed at www.biglumber.com!
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 282 bytes --]

             reply	other threads:[~2005-08-18 10:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-18 10:01 Folkert van Heusden [this message]
2005-08-18 10:05 ` zero-copy read() interface Jörn Engel
2005-08-18 10:41   ` Folkert van Heusden
2005-08-18 13:13     ` Jörn Engel
2005-08-18 23:34     ` dean gaudet
2005-08-19  8:33       ` Jörn Engel
2005-08-21  9:01     ` Andrew Morton
2005-08-18 10:06 ` Christoph Hellwig

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=20050818100151.GF12313@vanheusden.com \
    --to=folkert@vanheusden.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.