kernel 5.1-rc2 is available.
The expected kernel configuration change to include the TEO (Timer Events Oriented) governor did not make it.
The fix so that apparmor will work didn't make it ( at least I think).
If you compile your own kernel, I think apparmor can be fixed by changing this:
Code:
CONFIG_LSM="yama,loadpin,safesetid,integrity,selinux,smack,tomoyo,apparmor"
to this:
Code:
CONFIG_LSM="yama,loadpin,safesetid,integrity,apparmor"
But I actually haven't tested it yet, and won't be able to until tomorrow. [EDIT: Tested, O.K.]
By the way, probably some of you know this already, but I just learned it this week (and now wish I knew about it a couple of months ago): The idle governor can be changed without re-booting if this in on the grub command line:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 consoleblank=300 cpuidle_sysfs_switch cpuidle.governor=teo"
And now I get this:
Code:
doug@s15:~/temp-k-git/linux$ grep . /sys/devices/system/cpu/cpuidle/*
/sys/devices/system/cpu/cpuidle/available_governors:ladder menu teo
/sys/devices/system/cpu/cpuidle/current_driver:intel_idle
/sys/devices/system/cpu/cpuidle/current_governor:teo
doug@s15:~/temp-k-git/linux$ echo menu | sudo tee /sys/devices/system/cpu/cpuidle/current_governor
menu
doug@s15:~/temp-k-git/linux$ grep . /sys/devices/system/cpu/cpuidle/*
/sys/devices/system/cpu/cpuidle/available_governors:ladder menu teo
/sys/devices/system/cpu/cpuidle/current_driver:intel_idle
/sys/devices/system/cpu/cpuidle/current_governor:menu
However note this extract from Documentation/admin-guide/pm/cpuidle.rst
Code:
There are three ``CPUIdle`` governors available, ``menu``, `TEO <teo-gov_>`_
and ``ladder``. Which of them is used by default depends on the configuration
of the kernel and in particular on whether or not the scheduler tick can be
`stopped by the idle loop <idle-cpus-and-tick_>`_. It is possible to change the
governor at run time if the ``cpuidle_sysfs_switch`` command line parameter has
been passed to the kernel, but that is not safe in general, so it should not be
done on production systems (that may change in the future, though). The name of
the ``CPUIdle`` governor currently used by the kernel can be read from the
:file:`current_governor_ro` (or :file:`current_governor` if
``cpuidle_sysfs_switch`` is present in the kernel command line) file under
:file:`/sys/devices/system/cpu/cpuidle/` in ``sysfs``.
See also here and here for IRC related stuff.