summaryrefslogtreecommitdiff
path: root/include/uapi/linux/android
diff options
context:
space:
mode:
authorQingfang Deng <dqfext@gmail.com>2026-01-30 10:22:07 +0300
committerFlorian Westphal <fw@strlen.de>2026-02-06 15:34:55 +0300
commit2a441a9aacaa79695e9d005af30fdd5186d773fb (patch)
tree88411f4d43e8b881d29a4c4853d2fa1d68882cc7 /include/uapi/linux/android
parent59ecffa3995e70a675beeb870f0b3a28470428de (diff)
downloadlinux-2a441a9aacaa79695e9d005af30fdd5186d773fb.tar.xz
netfilter: flowtable: dedicated slab for flow entry
The size of `struct flow_offload` has grown beyond 256 bytes on 64-bit kernels (currently 280 bytes) because of the `flow_offload_tunnel` member added recently. So kmalloc() allocates from the kmalloc-512 slab, causing significant memory waste per entry. Introduce a dedicated slab cache for flow entries to reduce memory footprint. Results in a reduction from 512 bytes to 320 bytes per entry on x86_64 kernels. Signed-off-by: Qingfang Deng <dqfext@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/uapi/linux/android')
0 files changed, 0 insertions, 0 deletions