Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf, x64: Introduce two tailcall enhancements #4568

Closed

Conversation

kernel-patches-daemon-bpf-rc[bot]
Copy link

Pull request for series with
subject: bpf, x64: Introduce two tailcall enhancements
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=903824

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 87cb58a
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903824
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 42602e3
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903828
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 8a0cfd8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903828
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 8a0cfd8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903828
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 74975e1
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903828
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: e626a13
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903828
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: e5e4799
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903828
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 4d99e50
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903828
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 77017b9
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=903828
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: a2b4a9c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=907401
version: 3

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 4b15354
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=907401
version: 3

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 213a695
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=907401
version: 3

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 47e2c45
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=907401
version: 3

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 042d95c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=907401
version: 3

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 47e2c45
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=907401
version: 3

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 47e2c45
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=907401
version: 3

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: c748a25
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=907401
version: 3

In x64 JIT, propagate tailcall info only for subprogs, not for helpers
or kfuncs.

Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Leon Hwang <[email protected]>
In the x86_64 JIT, tailcall info is propagated through the trampoline when
the target program is tail_call_reachable. However, this propagation is
unnecessary if the target is a main prog, or a subprog that is not
tail_call_reachable.

Since the verifier can determine if a subprog is tail_call_reachable, it
should only propagate tailcall info when the target is subprog and the
subprog is actually tail_call_reachable.

Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Leon Hwang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant