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

Investigate runtime change to stop invoking the loader to then invoke the BPF program #10

Open
buffalojoec opened this issue Dec 4, 2024 · 0 comments

Comments

@buffalojoec
Copy link
Contributor

Currently, loader programs serve two sets of instructions: account management and invoking BPF programs.

The account management instruction set can be split out and migrated to a BPF program, but that leaves the invocation of BPF programs. However, this can maybe be absorbed into the runtime.

Builtin programs use an "empty" rBPF VM to invoke their builtin functions, however this use of the VM may not be necessary. The primary purpose of the VM here was to enforce a standard interface, but if we can enforce the interface without the actual VM, then we don't need to invoke, for example, BPFLoader v3 when we wish to invoke a BPF program.

BPF programs would just be invoked directly by the runtime without first going through the mocked-up VM.

For more context, see the following:

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

No branches or pull requests

1 participant