Subj : [$] Improved load-time checking for BPF kfuncs To : All From : LWN.net Date : Fri Feb 07 2025 15:45:08 [$] Improved load-time checking for BPF kfuncs Date: Fri, 07 Feb 2025 15:30:09 +0000 Description: 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. ====================================================================== Link to news story: https://lwn.net/Articles/1007947/ --- Mystic BBS v1.12 A47 (Linux/64) * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100) .