Navigation
Search
|
[$] Improved load-time checking for BPF kfuncs
Friday February 7, 2025. 04:30 PM , from LWN.net
The BPF verifier is charged with the
challenging task of ensuring that a BPF program is safe for the kernel to run before that program is loaded. Among many other concerns, the verifier must ensure that any kfuncs (kernel functions that have been exported to BPF programs) are called with the correct parameters and from the right context. The 'context' part of that enforcement is showing its age in ways that are hurting performance; Juntong Deng has been working on infrastructure to provide finer-grained control over when a kfunc can be called.
https://lwn.net/Articles/1007947/
Related News |
25 sources
Current Date
Feb, Fri 7 - 20:59 CET
|