sys/shell: reduce overhead of XFA shell commands#20958
sys/shell: reduce overhead of XFA shell commands#20958mguetschow merged 2 commits intoRIOT-OS:masterfrom
Conversation
|
Ah, I should also show that this does actually bring down This PR: And in |
|
Interesting: On |
f4b2ef1 to
9434532
Compare
9434532 to
c9240ac
Compare
55a1a7a to
7d2a457
Compare
There was a problem hiding this comment.
(comments moved to #20964 (review), which is now part of this PR)
7d2a457 to
ce07e7e
Compare
|
There are two static issues, one introduced by this PR, the other already in the file |
Those should be gone when rebasing on top of #20964
Indeed. The idea is to proof here that RIOT-OS/rust-riot-wrappers#134 would work (via Murdock/CI), get RIOT-OS/rust-riot-wrappers#134 merged, then replace the commit with updating the rust-riot-wrappers instead of bending the repo to my PR. |
|
This needs a rebase |
See-Also: RIOT-OS/RIOT#20958 Merges: #134
See-Also: RIOT-OS/RIOT#20958 See-Also: #134
We do not need to add an array of pointers to the shell commands, just an array of shell commands is sufficient. This reduced the overhead of XFA by `sizeof(void *)` per command.
ce07e7e to
a7e2515
Compare
I dropped the work around now that the change are upstream, and instead just bump rust-riot-wrappers.
Done |
chrysn
left a comment
There was a problem hiding this comment.
LGTM. That it was the way it was confused me once already; the padding issues you've seen that apparently now work fine might be why it was this way originally. Not tested locally; trusting your and CI tests.
mguetschow
left a comment
There was a problem hiding this comment.
Code changes look good, thanks! Trusting CI for correctness as well.
|
Thx! |
See-Also: RIOT-OS/RIOT#20958 See-Also: #134
Contribution description
We do not need to add an array of pointers to the shell commands, just an array of shell commands is sufficient. This reduced the overhead of XFA by
sizeof(void *)per command.Testing procedure
And
nativewill be tested by the CI.Issues/PRs references