linux/net/packet
Eric Dumazet ae6db08f8b 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>
2023-08-02 18:44:55 -07:00
..
af_packet.c net/packet: change packet_alloc_skb() to allow bigger paged allocations 2023-08-02 18:44:55 -07:00
diag.c af_packet: Fix data-races of pkt_sk(sk)->num. 2023-05-25 21:03:23 -07:00
internal.h net/packet: support mergeable feature of virtio 2023-04-21 12:01:58 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile