零复制(英语:Zero-copy;也译零拷贝)技术是指计算机执行操作时,CPU不需要先将数据从某处内存复制到另一个特定区域。这种技术通常用于通过网络传输文件时节省CPU周期和内存带宽。
另一方面,如果你是在制造一种新药,那么发明第一片药的成本大得惊人,可是接下来数百万次复制生产该药物的成本几乎为零。
If, on the other hand, you are making a new drug, it costs an incredible amount to invent your first pill. But then it's nearly free to copy it millions of times.
信息产品是“无限的”并且其复制成本为“零”。
Information product is "infinite" and has "zero" reproduction cost.
和copy _ to_user一样,该函数在成功时,返回0,否则返回一个非零数,指出不能复制的字节数。
As with copy_to_user, the function returns zero on success and non-zero to indicate a failure to copy some number of bytes.
应用推荐