Vetter: Locking engineering hierarchy

Post Syndicated from original https://lwn.net/Articles/903681/

Daniel Vetter continues his
series
on locking in the kernel.

This part goes through a pile of locking pattern and designs, from
most favourable and easiest to adjust and hence resulting in a long
term maintainable code base, to the least favourable since hardest
to ensure it works correctly and stays that way while the code
evolves. For convenience even color coded, with the dangerous
levels getting progressively more crispy red indicating how close
to the burning fire you are! Think of it as Dante’s Inferno, but
for locking.