Proposal for kernel change

Alan Cox alan en lxorguk.ukuu.org.uk
Dom Ene 23 18:00:54 CST 2000


> problem. Normal sys_read() and sys_write() would pass copy_to_user() /
> copy_from_user() here. For sys_readv() and sys_writev() - well,
> corresponding function that would copy to/from iovector. IIRC we have
> something like that either in net/core/* or in net/socket.c...

read and write sometimes lock and DMA from user pages in new driver toys
using Stephen's rawio and kiovec stuff. You would need to be careful how
you arranged it to avoid shooting yourself in the foot on future optimisations



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda