Merge branch 'optimise-local-cpu-skb_attempt_defer_free'
authorJakub Kicinski <kuba@kernel.org>
Thu, 11 Apr 2024 02:27:34 +0000 (19:27 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 11 Apr 2024 02:27:34 +0000 (19:27 -0700)
commit52a85468581e5b4f3b1f3acf52596ff0f27a19b8
treefe871fcfee202bd00a80a9ea6bd85f010f2592f8
parent9b9fd45869e744bea7d32a94793736e3d9fd7d26
parentd8415a165c43905ccf9ad7a4c7eaf6006b91a00b
Merge branch 'optimise-local-cpu-skb_attempt_defer_free'

Pavel Begunkov says:

====================
optimise local CPU skb_attempt_defer_free

Optimise the case when an skb comes to skb_attempt_defer_free()
on the same CPU it was allocated on. The patch 1 enables skb caches
and gives frags a chance to hit the page pool's fast path.
CPU bound benchmarking with perfect skb_attempt_defer_free()
gives around 1% of extra throughput.
====================

Link: https://lore.kernel.org/r/cover.1712711977.git.asml.silence@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>