summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorQingfang Deng <dqfext@gmail.com>2026-01-30 15:22:07 +0800
committerFlorian Westphal <fw@strlen.de>2026-02-06 13:34:55 +0100
commit2a441a9aacaa79695e9d005af30fdd5186d773fb (patch)
tree88411f4d43e8b881d29a4c4853d2fa1d68882cc7 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent59ecffa3995e70a675beeb870f0b3a28470428de (diff)
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions