summaryrefslogtreecommitdiffstats
path: root/crypto/des_generic.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-02-26 19:42:39 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2019-02-26 20:05:20 +0100
commit6daef95b8c914866a46247232a048447fff97279 (patch)
tree086688168650fe491deae0da957307c337bc26c5 /crypto/des_generic.c
parentuio: remove the unused iov_for_each macro (diff)
downloadlinux-6daef95b8c914866a46247232a048447fff97279.tar.xz
linux-6daef95b8c914866a46247232a048447fff97279.zip
iov_iter: optimize page_copy_sane()
Avoid cache line miss dereferencing struct page if we can. page_copy_sane() mostly deals with order-0 pages. Extra cache line miss is visible on TCP recvmsg() calls dealing with GRO packets (typically 45 page frags are attached to one skb). Bringing the 45 struct pages into cpu cache while copying the data is not free, since the freeing of the skb (and associated page frags put_page()) can happen after cache lines have been evicted. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/des_generic.c')
0 files changed, 0 insertions, 0 deletions