summaryrefslogtreecommitdiffstats
path: root/drivers/iio/frequency/ad9523.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2019-04-12 17:07:37 +0200
committerAlexei Starovoitov <ast@kernel.org>2019-04-18 04:09:24 +0200
commitba0509b6881efd0c8b26c36490cba87d8fb324c0 (patch)
tree823c2b8b7faca2fc53cbda830d77572be132b1c6 /drivers/iio/frequency/ad9523.c
parentbpf: cpumap use ptr_ring_consume_batched (diff)
downloadlinux-ba0509b6881efd0c8b26c36490cba87d8fb324c0.tar.xz
linux-ba0509b6881efd0c8b26c36490cba87d8fb324c0.zip
net: core: introduce build_skb_around
The function build_skb() also have the responsibility to allocate and clear the SKB structure. Introduce a new function build_skb_around(), that moves the responsibility of allocation and clearing to the caller. This allows caller to use kmem_cache (slab/slub) bulk allocation API. Next patch use this function combined with kmem_cache_alloc_bulk. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Song Liu <songliubraving@fb.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/iio/frequency/ad9523.c')
0 files changed, 0 insertions, 0 deletions