From: Thomas Gleixner <tglx@linutronix.de>
To: Andi Kleen <ak@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: [REGRESSION from 2.6.23-rc8] (was: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents)
Date: Sun, 30 Sep 2007 16:06:59 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.0.9999.0709301542410.3142@localhost.localdomain> (raw)
In-Reply-To: <200709301158.17823.ak@suse.de>
On Sun, 30 Sep 2007, Andi Kleen wrote:
>>> OK, this explains 2) and 3). I just looked into the code and the logic
>>> vs. noapictimer on SMP is completely broken.
>
> noapictimer really doesn't make any sense on non SMP imho with the old
> timer architecture. That is why I never bothered to implement it.
> It's purely a UP hack.
It does not matter whether it makes sense to you or not. It is a command
line option which bricks systems. There is neither an explanation in
Dokumentation/kernel-parameters.txt nor a check in the code, which
disables this completely.
It makes a lot of sense even with the existing architecture. Trouble
shooting a box, where the local apic timer does not work correctly is not
an UP only requirement.
Yes, it is a hack, a _bad_ hack.
>> ..and thanks for the explanation.
>>
>> Thanks for finding it so quickly guys. Sounds like this will be fixed
>> properly in 2.6.24 with the x86 merge (which hopefully brings in the hrt
>> patch too)
>
> There is nothing really to fix currently. Clockevents changes behaviour
> majorly (always using APIC timers without irq 0 backups[1]) and that causes
> problems that need new workarounds and new fixes (surprise surprise!)
>
> That merge would probably fix a few more such "Thomas doesn't understand
> the code" bugs I guess because he hacks much more on i386 than x86-64;
> but if the overall result will be really better is a totally different
> question.
I understand the code quite well. I'm just surprised from time to time by
interesting hacks in the so clean x8664 tree.
> [1] Or let's call it "I trust all my time to the CPU" and no more southrbridge
> aka put all eggs in one basket. Given the trends in CPU power saving that
> is a quite dangerous strategy.
No, it's not dangerous. We spent quite some time to make the clock events
layer flexible enough to handle the current problems and the design allows
to add more infrastructure when necessary. The maybe new (mis)features of
upcoming CPUs need to be addressed with or without clock events and they
need to be done careful and not by random hacks.
tglx
next prev parent reply other threads:[~2007-09-30 14:39 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-23 10:57 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents Rafael J. Wysocki
2007-09-23 19:10 ` Thomas Gleixner
2007-09-23 20:08 ` Rafael J. Wysocki
2007-09-23 19:59 ` Thomas Gleixner
2007-09-23 20:52 ` Rafael J. Wysocki
2007-09-24 8:07 ` Thomas Gleixner
2007-09-24 12:57 ` Rafael J. Wysocki
2007-09-24 13:05 ` Thomas Gleixner
2007-09-24 13:52 ` Rafael J. Wysocki
2007-09-24 14:23 ` Thomas Gleixner
2007-09-24 15:18 ` Rafael J. Wysocki
2007-09-24 16:46 ` Thomas Gleixner
2007-09-24 19:11 ` Rafael J. Wysocki
2007-09-24 19:13 ` Thomas Gleixner
2007-09-25 13:16 ` Rafael J. Wysocki
2007-09-25 13:17 ` Thomas Gleixner
2007-09-25 20:07 ` Rafael J. Wysocki
2007-09-25 20:46 ` Thomas Gleixner
2007-09-25 21:28 ` Rafael J. Wysocki
2007-09-25 21:24 ` Thomas Gleixner
2007-09-26 15:25 ` Rafael J. Wysocki
2007-09-26 18:51 ` Thomas Gleixner
2007-09-26 19:49 ` Rafael J. Wysocki
2007-09-26 21:00 ` [REGRESSION from 2.6.23-rc8] (was: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents) Rafael J. Wysocki
2007-09-26 21:34 ` Thomas Gleixner
2007-09-26 22:22 ` Linus Torvalds
2007-09-26 22:35 ` Thomas Gleixner
2007-09-26 23:30 ` [REGRESSION from 2.6.23-rc8] Chuck Ebbert
2007-09-28 15:07 ` Chuck Ebbert
2007-09-28 15:10 ` Thomas Gleixner
2007-09-30 9:58 ` [REGRESSION from 2.6.23-rc8] (was: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents) Andi Kleen
2007-09-30 14:06 ` Thomas Gleixner [this message]
2007-09-30 15:03 ` Andi Kleen
2007-09-26 23:30 ` Rafael J. Wysocki
2007-09-26 23:21 ` Thomas Gleixner
2007-09-27 15:58 ` Rafael J. Wysocki
2007-09-30 9:52 ` Andi Kleen
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=alpine.LFD.0.9999.0709301542410.3142@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rjw@sisk.pl \
--cc=torvalds@linux-foundation.org \
/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
Powered by JetHome