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

Load a new far_entry_point program for every new session? #73

Open
restart-again opened this issue Dec 5, 2023 · 0 comments
Open

Load a new far_entry_point program for every new session? #73

restart-again opened this issue Dec 5, 2023 · 0 comments

Comments

@restart-again
Copy link

Hi, Thanks for your wonderful code and sharing. In my understanding, from your code, whenever a session coming, a new far_entry_point program and data will be loaded to the kernal.
I am wondering why we can't use the same program but give new session data to the far_entry_point program. I suppose the whole far_entry_point program is much larger than the data, and the kenerl may can not accomodate too much programs, one copy of the code should be enough, why need to load different code copies for every session? I am not very familiar with BPF yet, please feel free to correct me, thanks.

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