diff options
author | Eric Dumazet <edumazet@google.com> | 2023-08-01 20:52:53 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-02 18:44:55 -0700 |
commit | ae6db08f8b5606ccd95ef2aadd741905d3c13bc0 (patch) | |
tree | acb91bcdeeeca126f28acf1e77e9b53eccc68ef6 /include/linux/net_tstamp.h | |
parent | ce7c7fef147311d0675aa8351ff72e0be1d5b3eb (diff) | |
download | linux-stable-ae6db08f8b5606ccd95ef2aadd741905d3c13bc0.tar.gz linux-stable-ae6db08f8b5606ccd95ef2aadd741905d3c13bc0.tar.bz2 linux-stable-ae6db08f8b5606ccd95ef2aadd741905d3c13bc0.zip |
net/packet: change packet_alloc_skb() to allow bigger paged allocations
packet_alloc_skb() is currently calling sock_alloc_send_pskb()
forcing order-0 page allocations.
Switch to PAGE_ALLOC_COSTLY_ORDER, to increase max 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-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/net_tstamp.h')
0 files changed, 0 insertions, 0 deletions