{"id":760777,"date":"2020-05-26T16:04:28","date_gmt":"2020-05-26T20:04:28","guid":{"rendered":"https:\/\/www.prime-wow.com\/?p=760777"},"modified":"2020-05-26T16:04:28","modified_gmt":"2020-05-26T20:04:28","slug":"carpenter-writing-the-ultimate-locking-check","status":"publish","type":"post","link":"https:\/\/www.prime-wow.com\/?p=760777","title":{"rendered":"Carpenter: Writing the Ultimate Locking Check"},"content":{"rendered":"<p>Here&#8217;s <a href=\"https:\/\/blogs.oracle.com\/linux\/writing-the-ultimate-locking-check\">a<br \/>\ndetailed blog entry from Dan Carpenter<\/a> on adding improved lock checking<br \/>\nto the <tt>smatch<\/tt> static-analysis tool.  &#8220;<span>When Smatch gained the<br \/>\nability to do cross function analysis in 2010, I knew that I had to<br \/>\nre-write the locking check to take advantage of the new cross function<br \/>\nanalysis feature. When you combine cross function analysis with top of the<br \/>\nline flow analysis available and in depth knowledge of kernel locks then<br \/>\nthe result is the Ultimate Locking Check! Unfortunately, I have a tendency<br \/>\ntowards procrastination and it took me a decade to get around to it, but it<br \/>\nis done now. This blog will step through how the locking analysis<br \/>\nworks.<\/span>&#8220;&#013;<br \/>\n&#013;<br \/>\nSource: LWN.net &#8211; <a href=\"https:\/\/lwn.net\/Articles\/821482\/rss\" target=\"_blank\" rel=\"noopener noreferrer\">Carpenter: Writing the Ultimate Locking Check<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a detailed blog entry from Dan Carpenter on adding improved lock checking to the smatch static-analysis tool. &#8220;When Smatch gained the ability to do cross function analysis in 2010, I knew that I had to re-write the locking check &hellip; <a href=\"https:\/\/www.prime-wow.com\/?p=760777\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[72],"tags":[75],"class_list":["post-760777","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/760777","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=760777"}],"version-history":[{"count":0,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/760777\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=760777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=760777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=760777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}