KernelTrap: Marking Code Obsolete Or Deprecated

Written By
Web Webster
Web Webster
Jan 23, 2007

“Robert Day proposed a couple of new kernel code maturity
configuration options for tagging code as either ‘deprecated’ or
‘obsolete.’ He referenced earlier confusion around the attempt to
remove devfs in which it wasn’t clear on the current state and
future plans for the code. He explained, ‘using deprecated code is
still technically fine, but using obsolete code should be something
that raises a red flag of some kind.’ Aside from a little confusion
between the differences in definition between these two words,
general feedback was positive. H. Peter Anvin supported the patch,
‘if nothing else, it gives some middle-of-the-roadness to the
continual ‘to remove or not to remove’ debate.’ Robert also noted
that the ‘deprecated’ flag would be a useful sanity check when
building a kernel, ‘this would seem to be a quick and dirty way to
prune anything that is *supposed* to be obsolete from the build, to
make sure you’re not picking up dead code by accident…'”

Advertisement

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.