]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'use-kmalloc_nolock-universally-in-bpf-local-storage'
authorAlexei Starovoitov <ast@kernel.org>
Sat, 11 Apr 2026 04:22:32 +0000 (21:22 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 11 Apr 2026 04:22:32 +0000 (21:22 -0700)
commitd6bae125f21f74201a3eab0996b2f27be3abc4bf
treeb3366ddffd45d0d817355f50bc2df98844a79f79
parent497fa510ee46af2bf04991cd64cb919266d0ca5a
parent136deea435dc83d7fe2304303bb9bccb54f69bb0
Merge branch 'use-kmalloc_nolock-universally-in-bpf-local-storage'

Amery Hung says:

====================
Use kmalloc_nolock() universally in BPF local storage

Socket local storage did not convert to use kmalloc_nolock() since there
were observable performance degredation due to kfree_nolock() hitting the
slow path and the lack of kfree_rcu()-like batching freeing. Now that
these concern were addressed in slub, convert all remaining local storage
flavors to use kmalloc_nolock().

v1 -> v2:
  - Fix build (CI, Alexei)
====================

Link: https://patch.msgid.link/20260411015419.114016-1-ameryhung@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>