Skip to content

examples: Remove bump_memlock_rlimit()#1092

Merged
d-e-s-o merged 3 commits intolibbpf:masterfrom
chenhengqi:remove-bump_memlock_rlimit
Feb 25, 2025
Merged

examples: Remove bump_memlock_rlimit()#1092
d-e-s-o merged 3 commits intolibbpf:masterfrom
chenhengqi:remove-bump_memlock_rlimit

Conversation

@chenhengqi
Copy link
Contributor

The bump_memlock_rlimit() is unnecessary since libbpf 1.0. See this issue and this commit for details.

The bump_memlock_rlimit() is unnecessary since libbpf 1.0.
See this [issue](0) and this [commit](1) for details.

  [0]: libbpf/libbpf#369
  [1]: libbpf/libbpf@216eaa7

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
@chenhengqi chenhengqi force-pushed the remove-bump_memlock_rlimit branch 2 times, most recently from f3ac905 to 6a324ca Compare February 25, 2025 11:29
The bump_rlimit_mlock() is unnecessary, drop it.

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
@chenhengqi chenhengqi force-pushed the remove-bump_memlock_rlimit branch from e9c46d1 to 90f5402 Compare February 25, 2025 11:45
Copy link
Collaborator

@d-e-s-o d-e-s-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, I was wondering about this functionality, because I also noticed that it no longer seemed necessary. Thanks for getting to the bottom of it.

@d-e-s-o d-e-s-o merged commit c203413 into libbpf:master Feb 25, 2025
14 checks passed
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.

2 participants