Advanced

Linux: Marking Code Obsolete Or Deprecated

Posted by Scott_Ruecker on · Post a comment
KernelTrap; By Jeremy Andrews
Mail this story
Print this story

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 [story] 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.".

Full Story

  Nav
» Read more about: Groups: Kernel, Linux; Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post