In the kernel sources Linux Around 4 comments describing issues that need to be fixed, plans, and tasks deferred for the future, identified by the presence of the phrase "TODO" in the text. Most of the comments with "TODO" are present in the driver code (). In the crypto subsystem of such comments - , x86 architecture-specific code - , ARM — , code for other architectures - , in the code of block devices, file systems and the network subsystem - .
The FIXME statement, which typically identifies code that requires improvement or is questionable, appears in comments.
times. It's interesting that in kernel 4.2 a significant jump in TODO comments, the number of which increased by about 1000 at once (this is probably due to into the AMDGPU driver core, which includes about 400 thousand lines of code).
Also, from version to version, the number of comments with the word “workaround” continues to increase, but there is a decrease in comments with “fixme” and “hack”.
After to rid the kernel of obscene language in the comments There was a reduction in the use of certain obscene words. However, the decline was short-lived, and now we're seeing a resurgence in the number of such comments.
Source: opennet.ru
