]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
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)
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>

Trivial merge