* [Xenomai-core] [PATCH] detect problematic kernel configs
@ 2006-04-13 18:38 Jan Kiszka
2006-04-15 15:06 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2006-04-13 18:38 UTC (permalink / raw)
To: xenomai-core
[-- Attachment #1.1: Type: text/plain, Size: 189 bytes --]
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
[-- Attachment #1.2: latency-warnings.patch --]
[-- Type: text/plain, Size: 606 bytes --]
Index: ksrc/arch/i386/Kconfig
===================================================================
--- ksrc/arch/i386/Kconfig (revision 924)
+++ ksrc/arch/i386/Kconfig (working copy)
@@ -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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] [PATCH] detect problematic kernel configs
2006-04-13 18:38 [Xenomai-core] [PATCH] detect problematic kernel configs Jan Kiszka
@ 2006-04-15 15:06 ` Gilles Chanteperdrix
2006-04-15 16:02 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2006-04-15 15:06 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai-core
Jan Kiszka wrote:
> 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
> ===================================================================
> --- ksrc/arch/i386/Kconfig (revision 924)
> +++ ksrc/arch/i386/Kconfig (working copy)
> @@ -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
Only ACPI_PROCESSOR is a latency killer.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] [PATCH] detect problematic kernel configs
2006-04-15 15:06 ` Gilles Chanteperdrix
@ 2006-04-15 16:02 ` Jan Kiszka
0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2006-04-15 16:02 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai-core
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
> > 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
> > ===================================================================
> > --- ksrc/arch/i386/Kconfig (revision 924)
> > +++ ksrc/arch/i386/Kconfig (working copy)
> > @@ -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
>
> Only ACPI_PROCESSOR is 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-04-15 16:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-13 18:38 [Xenomai-core] [PATCH] detect problematic kernel configs Jan Kiszka
2006-04-15 15:06 ` Gilles Chanteperdrix
2006-04-15 16:02 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.