[PATCH 6.1 00/16] Fixes bpf and rcu

From: Alexey Nepomnyashih
Date: Sun Feb 02 2025 - 02:48:40 EST


Hi, this series backports fix https://syzkaller.appspot.com/bug?id=d4d4abdb121f42913b3a149f2d846a7dd7eeb7e2 linux-6.1.y

Here is the summary with links:
- [6.1 01/16] bpf: Add a few bpf mem allocator functions.
https://git.kernel.org/bpf/bpf/c/e65a5c6edbc6

- [6.1 02/16] bpf: Factor out a common helper free_all().
https://git.kernel.org/bpf/bpf/c/aa7881fcfe9d

- [6.1 03/16] bpf: Rename few bpf_mem_alloc fields.
https://git.kernel.org/bpf/bpf/c/12c8d0f4c870

- [6.1 04/16] bpf: Let free_all() return the number of freed elements.
https://git.kernel.org/bpf/bpf/c/9de3e81521b4

- [6.1 05/16] bpf: Refactor alloc_bulk().
https://git.kernel.org/bpf/bpf/c/05ae68656a8e

- [6.1 07/16] bpf: Use rcu_trace_implies_rcu_gp() in bpf memory allocator.
https://git.kernel.org/bpf/bpf/c/59be91e5e70a

- [6.1 08/16] bpf: Further refactor alloc_bulk().
https://git.kernel.org/bpf/bpf/c/7468048237b8

- [6.1 09/16] bpf: Change bpf_mem_cache draining process.
https://git.kernel.org/bpf/bpf/c/d114dde245f9

- [6.1 10/16] bpf: Add a hint to allocated objects.
https://git.kernel.org/bpf/bpf/c/822fb26bdb55

- [6.1 11/16] bpf: Introduce bpf_mem_free_rcu() similar to kfree_rcu().
https://git.kernel.org/bpf/bpf/c/5af6807bdb10

- [6.1 12/16] rcu: Fix missing nocb gp wake on rcu_barrier()
https://git.kernel.org/bpf/bpf/c/b8f7aca3f0e0

- [6.1 13/16] rcu: Make call_rcu() lazy to save power
https://git.kernel.org/bpf/bpf/c/3cb278e73be5

- [6.1 14/16] rcu: Export rcu_request_urgent_qs_task()
https://git.kernel.org/bpf/bpf/c/43a89baecfe2

- [6.1 15/16] bpf: Remove unnecessary check when updating LPM trie
https://git.kernel.org/bpf/bpf/c/156c977c539e

- [6.1 16/16] bpf: Switch to bpf mem allocator for LPM trie
https://git.kernel.org/bpf/bpf/c/3d8dc43eb2a3