~/talk

Automating Scope-Based Resource Cleanup with Coccinelle

links:none on file
slides:none on file

Automates conversion of lock/unlock pairs into scope-based cleanup using Coccinelle SmPL, replacing explicit unlocks with scope guard or guard where safe, driven by static analysis and a configurable makefile for ~50 lock kinds. Script lives on GitHub, runs semantic patches, and validates by compiling transformed code; it skips patterns with nested re-locks, breaks, gotos, or unknown calls to avoid unsafe moves of unlocks. Many additional opportunities remain and manual review of diffs is required.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.