You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The kselftest fragment is a constant source of problems booting
boards since it ends up being very much larger than standard
configurations which cause lots of problems for u-boot boards,
limiting our ability to run the selftests and creating constant
overhead. This mainly comes from the cpufreq and LKDTM
fragments, they turn on some options which instrument the entire
kernel which adds overhead everywhere.
Add a new special Kconfig fragment type kselftest-slim which
merges all fragments other than those two. For x86_64 defconfig
this produces a substantial improvement in image size,
bloat-o-meter reports:
Total: Before=38073475, After=24629302, chg -35.31%
for kselftest and kselftest-slim. If other fragments start
causing similar issues we can add them to the list filtered out
by kselftest-slim.
Signed-off-by: Mark Brown <[email protected]>
0 commit comments