On older Linux kernels (pre 5.11) running multiple BPF applications may exceed the locked pages limit (RLIMIT_MEMLOCK) imposed in pmdabpf and prevent additional BPF applications from starting. The pmdabpf has been changed to remove any locked page limit to elimitate this arbitrary limit interferring with BPF application startup. This patch is based on the proposed patch from Nathan Scott in the issue.
On older Linux kernels (pre 5.11) running multiple BPF applications may exceed the locked pages limit (RLIMIT_MEMLOCK) imposed in pmdabpf and prevent additional BPF applications from starting. The pmdabpf has been changed to remove any locked page limit to elimitate this arbitrary limit interferring with BPF application startup. This patch is based on the proposed patch from Nathan Scott in the issue.
Resolves: https://github.com/performancecopilot/pcp/issues/1915