Tag

Kconfig

All articles tagged with #kconfig

technology17 days ago

Kconfirm Targets Linux Kernel's Kconfig Woes With Rust-Powered Cleanup Tool

A new Rust-based tool named Kconfirm is being developed to detect misuses and issues in the Linux kernel's Kconfig configuration system, including dead code, constant conditions, and invalid ranges, as well as dead links in help text. It has already helped surface problems like hundreds of duplicate dependencies in Linux 7.0, and, as of 7.1-rc2, raises alarms under its default checks (489 or 1,789 with extra checks) while patches for mainline consideration (RFC v2) are circulating on the Linux kernel mailing list.

"Linus Torvalds' Unconventional Approach to Indentation in Linux Kconfig"
technology2 years ago

"Linus Torvalds' Unconventional Approach to Indentation in Linux Kconfig"

Linus Torvalds intentionally made the use of indentation in Linux kernel config files more complex to challenge inferior parsers, aiming to improve the quality of tools that parse such files. This change, found in the latest release candidate for the next version of the Linux kernel, is a deliberate move to expose and weed out weaker parsing tools, without publicly criticizing anyone.