detect problematic kernel configs
PATCH 1/1 detect problematic kernel configs
Hi,
this patch tries to reduce the traps newbies may tap by leaving (for us) well-known problematic kernel switches on. And are there any futher I forgot, e.g. on other archs?
Jan
arch/i386/Kconfig +16 -0
@@ -194,3 +194,19 @@ depends on XENO_OPT_NUCLEUS source "drivers/xenomai/Kconfig" endmenu + +if XENOMAI = y + +comment "WARNING: Potential latency killers detected!" + depends on PM || ACPI || CPU_FREQ + +comment "Power Management (PM)" + depends on PM + +comment "ACPI" + depends on ACPI + +comment "CPU frequency scaling (CPU_FREQ)" + depends on CPU_FREQ + +endif
Quoted 16 lines · Jan Kiszka
Hi,
this patch tries to reduce the traps newbies may tap by leaving (for us) well-known problematic kernel switches on. And are there any futher I forgot, e.g. on other archs?
Jan
Index: ksrc/arch/i386/Kconfig
===================================================================arch/i386/Kconfig +1
-0@@ -194,3 +194,19 @@ depends on XENO_OPT_NUCLEUS source "drivers/xenomai/Kconfig" endmenu +
arch/i386/Kconfig depends on XENO_OPT_NUCLEUS · line 207
Quoted 10 lines
arch/i386/Kconfig +10
-0+if XENOMAI = y + +comment "WARNING: Potential latency killers detected!" + depends on PM || ACPI || CPU_FREQ + +comment "Power Management (PM)" + depends on PM + +comment "ACPI" + depends on ACPI
Only ACPI_PROCESSOR is a latency killer.
Signature · 1 line
Gilles Chanteperdrix.
Quoted 15 lines · Gilles Chanteperdrix
Quoted 14 lines · Jan Kiszka
Hi,
this patch tries to reduce the traps newbies may tap by leaving (for us) well-known problematic kernel switches on. And are there any futher I forgot, e.g. on other archs?
Jan
Index: ksrc/arch/i386/Kconfig
===================================================================arch/i386/Kconfig +0
-0@@ -194,3 +194,19 @@ depends on XENO_OPT_NUCLEUS source "drivers/xenomai/Kconfig"
Quoted 15 lines
arch/i386/Kconfig depends on XENO_OPT_NUCLEUS · line 207
Quoted 12 lines
arch/i386/Kconfig +11
-0endmenu + +if XENOMAI = y + +comment "WARNING: Potential latency killers detected!" + depends on PM || ACPI || CPU_FREQ + +comment "Power Management (PM)" + depends on PM + +comment "ACPI" + depends on ACPIOnly
ACPI_PROCESSORis a latency killer.
Good point. Are there also some more fine-grained switches under CONFIG_PM? Never tried this in details, always picked the safe way.
Jan