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:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: zero-copy read() interface
- From: Christoph Hellwig <[email protected]>
- Re: zero-copy read() interface
- From: Jörn Engel <[email protected]>
- Re: zero-copy read() interface
- Prev by Date: Re: 2.6.13-rc6-rt3
- Next by Date: Re: can I write to the cdrom through writing to the device file sr0?
- Previous by thread: Schedutils spec file for 1.5.0
- Next by thread: Re: zero-copy read() interface
- Index(es):