Messages in this thread | | | Date | Thu, 18 Aug 2005 12:01:52 +0200 | From | Folkert van Heusden <> | Subject | zero-copy read() interface |
| |
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 [unhandled content-type:application/pgp-signature] | |