From: Pavel Machek <pavel@ucw.cz>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>, kernel list <linux-kernel@vger.kernel.org>
Subject: [patch] Re: nohz and strange sleep latencies
Date: Sun, 25 Nov 2007 21:25:57 +0100 [thread overview]
Message-ID: <20071125202557.GB7739@elf.ucw.cz> (raw)
In-Reply-To: <alpine.LFD.0.9999.0711222121500.25057@localhost.localdomain>
Hi!
Okay, so the problem seems to be we are using unreliable lapic
timer... which is stopped in C3 (and in C2 on broken machines).
I do not see any mechanism to disable lapic; there seems to be some
mechanism to work around stopped lapic timer is used (in
acpi/processor_idle.c) but it does not seem to work. So what about
this?
Pavel
Signed-off-by: Pavel Machek <pavel@suse.cz>
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 08b07c1..b9bf79c 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -63,8 +63,8 @@ static int enable_local_apic __initdata
static int local_apic_timer_verify_ok;
/* Disable local APIC timer from the kernel commandline or via dmi quirk
or using CPU MSR check */
-int local_apic_timer_disabled;
-/* Local APIC timer works in C2 */
+int local_apic_timer_disabled = 1;
+/* Local APIC timer works in C2: used in processor_idle.c */
int local_apic_timer_c2_ok;
EXPORT_SYMBOL_GPL(local_apic_timer_c2_ok);
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2007-11-25 20:25 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 20:31 Pavel Machek
2007-11-19 20:55 ` Ingo Molnar
2007-11-19 21:11 ` Pavel Machek
2007-11-20 8:57 ` Ingo Molnar
2007-11-20 9:05 ` Ingo Molnar
2007-11-20 10:54 ` Pavel Machek
2007-11-20 20:54 ` Ingo Molnar
2007-11-20 22:48 ` Thomas Gleixner
2007-11-20 22:52 ` Ingo Molnar
2007-11-22 10:09 ` Pavel Machek
2007-11-22 18:51 ` Pavel Machek
2007-11-22 18:52 ` Pavel Machek
2007-11-22 20:29 ` Thomas Gleixner
2007-11-23 12:22 ` Pavel Machek
2007-11-24 22:29 ` Pavel Machek
2007-11-24 22:40 ` Pavel Machek
2007-11-24 23:29 ` Rafael J. Wysocki
2007-11-24 23:35 ` Rafael J. Wysocki
2007-11-25 21:51 ` Thomas Gleixner
2007-11-25 20:25 ` Pavel Machek [this message]
2007-11-25 21:42 ` [patch] " Thomas Gleixner
2007-11-26 11:54 ` Pavel Machek
2007-11-20 9:44 ` Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071125202557.GB7739@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®