net: skbuff: remove special handling for SLOB
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Tue, 9 May 2023 07:12:07 +0000 (09:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 May 2023 02:40:32 +0000 (19:40 -0700)
commit559ae55cfc334c91c62d2ea054a3345611363ee0
treeaa35cafa21ec3de262ba9a5fb5e32146b6c288da
parenta731a43e8669a0b430c79a3e38890c27a5847a76
net: skbuff: remove special handling for SLOB

Commit c9929f0e344a ("mm/slob: remove CONFIG_SLOB") removes CONFIG_SLOB.
Now, we can also remove special handling for socket buffers with the SLOB
allocator. The code with HAVE_SKB_SMALL_HEAD_CACHE=1 is now the default
behavior for all allocators.

Remove an unnecessary distinction between SLOB and SLAB/SLUB allocator
after the SLOB allocator is gone.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230509071207.28942-1-lukas.bulwahn@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/skbuff.c