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

Optimize memory instrinsics #510

Open
shaneutt opened this issue Jan 30, 2023 · 0 comments
Open

Optimize memory instrinsics #510

shaneutt opened this issue Jan 30, 2023 · 0 comments

Comments

@shaneutt
Copy link

Developers can run into problems with the BPF verifier like invalid size of register spill despite having what might not seem (to them) like a very large or complex eBPF program. The ways in which the developer of the eBPF program can deal with this are to reduce complexity in their own code, as well as things like moving some work into functions to ensure less registers need to be used at a single time. However @alessandrod has also recommended that we consider optimizing memory instrinsics (memset/memcpy/memmove, e.t.c.) as a way Aya itself can improve these situations.

The purpose of this task is to strategize and implement optimizations for our memory instrinsics in hopes of producing smaller code.

(originally discussed in #505, and recommended by @alessandrod)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant