Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> writes: > On 08/15/2012 08:28 PM, Michal Nazarewicz wrote: >>> sendpage()& splice() would probably do more good, no? >> >> splice() is for moving data between two files descriptors, so that won't >> be that useful with FFS (I mean, it could be useful in addition), since >> I'm talking about kernel<->user space transfers. >> >> sendpage() I'm not even sure how to use/implement. ;) > > An update gadget which reads data over USB and writes to disk would > move data from one descriptor to the other. Yep, but that's one use case. -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +----<email/xmpp: mpn@xxxxxxxxxx>--------------ooO--(_)--Ooo--
Attachment:
pgpCSkYGFaba8.pgp
Description: PGP signature