bpf: Bump maximum runtime call stack depth to 16#11015
bpf: Bump maximum runtime call stack depth to 16#11015kernel-patches-daemon-bpf[bot] wants to merge 1 commit intobpf-next_basefrom
Conversation
|
Upstream branch: a9aabb3 |
dddd867 to
01f7084
Compare
|
Upstream branch: dc855b7 |
0ac2bde to
0165aef
Compare
01f7084 to
2294d0a
Compare
|
Upstream branch: dc855b7 |
0165aef to
223e0ec
Compare
2294d0a to
254af9f
Compare
|
Upstream branch: 4475cda |
223e0ec to
1359af3
Compare
254af9f to
25c770c
Compare
|
Upstream branch: 19de32d |
1359af3 to
cda79a3
Compare
25c770c to
1bbc6aa
Compare
|
Upstream branch: a86c608 |
cda79a3 to
d974dc6
Compare
1bbc6aa to
b0043d3
Compare
|
Upstream branch: a86c608 |
d974dc6 to
518584c
Compare
b0043d3 to
3d9d955
Compare
|
Upstream branch: a86c608 |
518584c to
5df6c3b
Compare
3d9d955 to
8c8442a
Compare
|
Upstream branch: 561085f |
5df6c3b to
c697c5b
Compare
8c8442a to
a4a9811
Compare
|
Upstream branch: f632de6 |
c697c5b to
da01ec9
Compare
a4a9811 to
2650068
Compare
|
Upstream branch: 4c51f90 |
The BPF verifier currently limits the maximum runtime call stack to 8 frames. Larger BPF programs like sched-ext schedulers routinely fail verification because they exceed this limit, even as they use very little actual stack space for each frame. Bump the maximum runtime call stack depth to 16 stack frames. Also adjust selftests that assume the max runtime call stack depth is 8. This patch does not change the verification time limit of 8 stack frames. Static functions that are inlined for verification purposes still only go 8 frames deep to avoid changing the verifier's internal data structures used for verification. These data structures only support holding information on up to 8 stack frames. Global functions are each verified in isolation, so the old 8 stack frame limit now only applies to call stacks composed entirely of static function calls. This patch also does not adjust the actual maximum stack size of 512. CHANGELOG ========= v1 -> v2 (https://lore.kernel.org/bpf/DG510ANGXEZH.BJ9EMMKHP5WT@etsalapatis.com) - Adjust patch to only increase the runtime stack depth, leaving the verification-time stack depth unchanged (Alexei) Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
da01ec9 to
f85db80
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1052899 expired. Closing PR. |
Pull request for series with
subject: bpf: Bump maximum runtime call stack depth to 16
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052899