Closed mabod closed 1 month ago
99% of people aren't going to use full dynticks. Distros enable it so that the 1% who do use it don't have to compile their own kernel or have the distro ship a second kernel. That's what the advice is about.
For people who are building their own kernel, it makes sense to set the default to what 99% of people are going to use and let people who want to use full dynticks and know what it is select it themselves. This is what TkG does.
Practically speaking, the only advantage to selecting NO_HZ_IDLE over NO_HZ_FULL without enabling full dynticks is tiny memory savings and reduced code complexity, if that is a concern.
Ok. I understand that. Makes sense.
When you hit return through all the config questions of linux-tkg, you will get
CONFIG_NO_HZ_IDLE=y
This seems to follow a recommendation from the kernel documentation:
(from: https://docs.kernel.org/timers/no_hz.html)
But this recommendation seems to be obsolete. In 2021 a change was introduce to the kernel source which changes the help text for the NO_HZ options and it says:
(from: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=176b8906c399a170886ea4bad5b24763c6713d61)
Distros like arch, debian or fedora all have
CONFIG_NO_HZ_FULL=y
Shouldnt that be the default for linux-tkg as well?