{"id":1215012,"date":"2025-02-07T10:30:09","date_gmt":"2025-02-07T15:30:09","guid":{"rendered":"https:\/\/www.prime-wow.com\/?p=1215012"},"modified":"2025-02-07T10:30:09","modified_gmt":"2025-02-07T15:30:09","slug":"improved-load-time-checking-for-bpf-kfuncs","status":"publish","type":"post","link":"https:\/\/www.prime-wow.com\/?p=1215012","title":{"rendered":"[$] Improved load-time checking for BPF kfuncs"},"content":{"rendered":"<p>The <a href=\"https:\/\/lwn.net\/Articles\/982077\/\">BPF verifier<\/a> is charged with the<br \/>\nchallenging task of ensuring that a BPF program is safe for the kernel to<br \/>\nrun before that program is loaded.  Among many other concerns, the verifier<br \/>\nmust ensure that any kfuncs (kernel functions that have been exported to<br \/>\nBPF programs) are called with the correct parameters and from the right<br \/>\ncontext.  The &#8220;context&#8221; part of that enforcement is showing its age in ways<br \/>\nthat are hurting performance; Juntong Deng has been working on<br \/>\ninfrastructure to provide finer-grained control over when a kfunc can be<br \/>\ncalled.<\/p>","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/www.prime-wow.com\/?p=1215012\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1215012","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1215012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1215012"}],"version-history":[{"count":0,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1215012\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1215012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1215012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1215012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}