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

Update remote mmap, avoid page faults using madvise syscall. Remove l… #259

Closed
wants to merge 1 commit into from

Conversation

RonFed
Copy link
Contributor

@RonFed RonFed commented Aug 21, 2023

WIP

  • Update remote mmap, avoid page faults using madvise syscall
  • Remove large local variable in uprobe_HttpClient_Do to avoid reaching the 512 bytes limit of eBPF

…arge local variable in uprobe_HttpClient_Do to avoid reaching the 512 bytes limit of eBPF
@edeNFed
Copy link
Contributor

edeNFed commented Aug 22, 2023

Adding some more context on this:
We observed at some Keyval customers that when the machine is lacking resources (especially memory), Linux would free the memory area used for context propagation which will cause bpf_write_user to fail. This should fix this scenario

@MrAlias
Copy link
Contributor

MrAlias commented Sep 13, 2023

Please rebase these changes into internal/pkg (changed in #282). The pkg directory is going to be removed in #302 given that package is no longer used.

@RonFed
Copy link
Contributor Author

RonFed commented Oct 10, 2023

Will be handled in #368

@RonFed RonFed closed this Oct 10, 2023
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

Successfully merging this pull request may close these issues.

3 participants