-
Notifications
You must be signed in to change notification settings - Fork 146
s390/bpf: Describe the frame using a struct instead of constants #9178
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
Conversation
Upstream branch: 3ce7cdd |
4b5a6fc
to
a2a54b8
Compare
Upstream branch: 3ce7cdd |
966acab
to
653ec17
Compare
a2a54b8
to
2e3dd89
Compare
Upstream branch: 3713b58 |
653ec17
to
94310ab
Compare
2e3dd89
to
2881f4b
Compare
Upstream branch: 3713b58 |
94310ab
to
3c455f9
Compare
2881f4b
to
a974116
Compare
Upstream branch: d69bafe |
3c455f9
to
bd70666
Compare
a974116
to
eaa5230
Compare
Upstream branch: d83caf7 |
bd70666
to
5c4ad17
Compare
eaa5230
to
cae7a60
Compare
Upstream branch: 5046acc |
5c4ad17
to
5c4e3e5
Compare
cae7a60
to
2087be3
Compare
Upstream branch: 886178a |
5c4e3e5
to
ed49275
Compare
2087be3
to
fa10573
Compare
Upstream branch: 6def082 |
Upstream branch: 48d998a |
a135584
to
aa076ce
Compare
d0ca596
to
3ae697b
Compare
Upstream branch: 5272b51 |
aa076ce
to
98a82af
Compare
3ae697b
to
10c6396
Compare
Upstream branch: a5a7b25 |
98a82af
to
4d15e83
Compare
10c6396
to
aa03896
Compare
Upstream branch: a5a7b25 |
4d15e83
to
6e11bcf
Compare
aa03896
to
c095f63
Compare
Upstream branch: bacdf5a |
6e11bcf
to
e139d58
Compare
c095f63
to
4b7c0fe
Compare
Upstream branch: c4b1be9 |
e139d58
to
92fded8
Compare
4b7c0fe
to
29dabce
Compare
The calculation of the distance from %r15 to the caller-allocated portion of the stack frame is copy-pasted into multiple places in the JIT code. Move it to bpf_jit_prog() and save the result into bpf_jit::frame_off, so that the other parts of the JIT can use it. Signed-off-by: Ilya Leoshkevich <[email protected]>
Upstream branch: c4b1be9 |
Currently the caller-allocated portion of the stack frame is described using constants, hardcoded values, and an ASCII drawing, making it harder than necessary to ensure that everything is in sync. Declare a struct and use offsetof() and offsetofend() macros to refer to various values stored within the frame. Signed-off-by: Ilya Leoshkevich <[email protected]>
92fded8
to
361175f
Compare
e4c7a26
to
2917a29
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=975247 irrelevant now. Closing PR. |
Pull request for series with
subject: s390/bpf: Describe the frame using a struct instead of constants
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=975247