|
Navigation
Recherche
|
[$] Magic kernel functions for BPF
lundi 10 novembre 2025, 16:04 , par LWN.net
When programs written in BPF (the kernel's hot-loadable virtual-machine
bytecode) call kernel functions (kfuncs), it may be useful for those functions to have additional information about the context in which those BPF programs are executing. Rather than requiring it to supply that information, it would be convenient to let the BPF verifier pass that information to the called function automatically. That is already possible, but a recent patch set from Ihor Solodrai would make it more ergonomic. It allows kernel developers to specify that a kfunc should be passed additional parameters inferred by the verifier, invisibly to the BPF program. The discussion included concerns that Solodrai's implementation was unnecessarily complex, however.
https://lwn.net/Articles/1044824/
Voir aussi |
56 sources (32 en français)
Date Actuelle
lun. 10 nov. - 18:54 CET
|








