summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-08-01 20:52:52 +0000
committerJakub Kicinski <kuba@kernel.org>2023-08-02 18:44:55 -0700
commitce7c7fef147311d0675aa8351ff72e0be1d5b3eb (patch)
tree4d4fd2bbf4faeabf744c365f14a2c736f5ac65e3 /net/packet
parent09c2c90705bb64986d499c4a4f3fd659761b637c (diff)
downloadlinux-ce7c7fef147311d0675aa8351ff72e0be1d5b3eb.tar.gz
linux-ce7c7fef147311d0675aa8351ff72e0be1d5b3eb.tar.bz2
linux-ce7c7fef147311d0675aa8351ff72e0be1d5b3eb.zip
net: tun: change tun_alloc_skb() to allow bigger paged allocations
tun_alloc_skb() is currently calling sock_alloc_send_pskb() forcing order-0 page allocations. Switch to PAGE_ALLOC_COSTLY_ORDER, to increase max allocation size by 8x. Also add logic to increase the linear part if needed. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Tahsin Erdogan <trdgn@amazon.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20230801205254.400094-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions