Linux Kernel Design Patterns - Part 1 | Linux Today

Linux Kernel Design Patterns – Part 1

Written By
Web Webster
Web Webster
Jun 19, 2009

“One broad approach that has found some real success is to
increase the visibility of various aspects of the kernel. This
makes the quality of those aspects more apparent, so this tends to
lead to an improvement of the quality.

“This increase in visibility takes many forms:

* The checkpatch.pl script highlights many deviations from
accepted code formatting style. This encourages people (who
remember to use the script) to fix those style errors. So, by
increasing the visibility of the style guide, we increase the
uniformity of appearance and so, to some extent, the quality.

* The “lockdep” system (when enabled) dynamically measures
dependencies between locks (and related states such as whether
interrupts are enabled). It then reports anything that looks odd.
These oddities will not always mean a deadlock or similar problem
is possible, but in many cases they do, and the deadlock
possibility can be removed. So by increasing the visibility of the
lock dependency graph, quality can be increased.”

Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.