cache pollution aware __copy_from_user_ll()
A message that is not in the archive (sent off-list or not yet received): 20050815121555.29159.qmail@science.horizon.com.suse.lists.linux.kernel
A message that is not in the archive (sent off-list or not yet received): 1124108702.3228.33.camel@laptopd505.fenrus.org.suse.lists.linux.kernel
Quoted 6 lines · Arjan van de Ven
Quoted 3 lines · On Mon, 2005-08-15 at 08:15 -0400, [email protected] wrote:
Actually, is there any place *other* than
write()to the page cache that warrants a non-temporal store? Network sockets with scatter/gather and hardware checksum, maybe?afaik those use zero copy already, eg straight pagecache copy.
Only if you use sendfile(). And the normal write path uses csum_copy_*
-Andi
Quoted 10 lines · Andi Kleen
Quoted 6 lines · Arjan van de Ven
Quoted 3 lines · On Mon, 2005-08-15 at 08:15 -0400, [email protected] wrote:
Actually, is there any place *other* than
write()to the page cache that warrants a non-temporal store? Network sockets with scatter/gather and hardware checksum, maybe?afaik those use zero copy already, eg straight pagecache copy.
Only if you use
sendfile(). And the normal write path uses csum_copy_*
but do those use s/g ? and hw csum?
Quoted 8 lines · Arjan van de Ven
Quoted 7 lines · Andi Kleen
Quoted 5 lines · Arjan van de Ven
Quoted 3 lines · On Mon, 2005-08-15 at 08:15 -0400, [email protected] wrote:
Actually, is there any place *other* than
write()to the page cache that warrants a non-temporal store? Network sockets with scatter/gather and hardware checksum, maybe?
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
afaik those use zero copy already, eg straight pagecache copy.
Only if you use
sendfile(). And the normal write path uses csum_copy_*but do those use s/g ?
sendfile yes. sendmsg also when the MTU of the device is larger than a page.
Quoted 1 line
and hw csum?
sendmsg normally not.
-Andi