public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: "Martin J. Bligh" <mbligh@mbligh.org>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.13-rc3-mm3
Date: Fri, 29 Jul 2005 10:15:58 -0600	[thread overview]
Message-ID: <m1hded4mgx.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <197380000.1122650508@[10.10.2.4]> (Martin J. Bligh's message of "Fri, 29 Jul 2005 08:21:48 -0700")

"Martin J. Bligh" <mbligh@mbligh.org> writes:

>> From: Eric W. Biederman <ebiederm@xmission.com>
>> 
>> sync_tsc was using smp_call_function to ask the boot processor to report
>> it's tsc value.  smp_call_function performs an IPI_send_allbutself which is
>> a broadcast ipi.  There is a window during processor startup during which
>> the target cpu has started and before it has initialized it's interrupt
>> vectors so it can properly process an interrupt.  Receveing an interrupt
>> during that window will triple fault the cpu and do other nasty things.
>
> Wheeeeeeee! that does indeed seem to work. Nice job. 

Welcome.  I hadn't how many people were tracking this.

>> I believe this patch suffers from apicid versus logical cpu number
>> confusion.  I copied the basic logic from smp_send_reschedule and I can't
>> find where that translates from the logical cpuid to apicid.  So it isn't
>> quite correct yet.  It should be close enough that it shouldn't be too hard
>> to finish it up.
>> 
>> More bug fixes after I have slept but I figured I needed to get this
>> one out for review.
>
> Eric, when you have a final version, throw it over to me, and I'll give
> that one a spin-test too ...

With respect to the fix that is final.  The rest of the bug
fixes in my queue are for other problems.    

Mostly my concerns are with respect to apicid vs logical cpu
numbers that I'm not certain are handled properly in the code.
genapic_flat doesn't seem to do any translation.  And I don't
recall if boot_cpu_id is an apic_id or a logical cpu number.
On most hardware it is 0 in either case so it doesn't matter.

Eric


  reply	other threads:[~2005-07-29 16:16 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28  9:58 2.6.13-rc3-mm3 Andrew Morton
2005-07-28 10:44 ` [-mm patch] fix MTRR compilation with SMP=n Adrian Bunk
2005-07-28 17:11 ` 2.6.13-rc3-mm3 Christoph Lameter
2005-07-28 19:52   ` 2.6.13-rc3-mm3 Russell King
2005-07-28 20:06     ` 2.6.13-rc3-mm3 Christoph Lameter
2005-07-28 19:11 ` 2.6.13-rc3-mm3 Rafael J. Wysocki
2005-07-28 19:16   ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-28 21:40     ` 2.6.13-rc3-mm3 Rafael J. Wysocki
2005-07-28 23:31       ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-29  7:06       ` 2.6.13-rc3-mm3 Matthias Urlichs
2005-07-29  9:27         ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-29 12:01           ` 2.6.13-rc3-mm3 Matthias Urlichs
2005-07-29 14:12           ` Regression hunting with git (was: Re: 2.6.13-rc3-mm3) Matthias Urlichs
2005-07-28 20:34 ` 2.6.13-rc3-mm3 Adrian Bunk
2005-07-28 22:09 ` 2.6.13-rc3-mm3 Michael Thonke
2005-07-28 20:15   ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-28 20:56     ` 2.6.13-rc3-mm3 Nick Sillik
2005-07-28 23:16       ` 2.6.13-rc3-mm3 Michael Thonke
2005-07-28 20:29   ` 2.6.13-rc3-mm3 Adrian Bunk
2005-07-28 23:29 ` 2.6.13-rc3-mm3 Michael Thonke
2005-07-28 22:02   ` 2.6.13-rc3-mm3 Dirk
2005-07-28 23:46   ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-29 15:48     ` 2.6.13-rc3-mm3 Michael Thonke
2005-07-29 19:33       ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-30  0:00         ` 2.6.13-rc3-mm3 Michael Thonke
2005-07-29  5:58 ` 2.6.13-rc3-mm3 Martin J. Bligh
2005-07-29  6:08   ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-29 15:21     ` 2.6.13-rc3-mm3 Martin J. Bligh
2005-07-29 16:15       ` Eric W. Biederman [this message]
2005-07-29  6:01 ` 2.6.13-rc3-mm3 Martin J. Bligh
2005-07-29  6:10   ` 2.6.13-rc3-mm3 Andrew Morton
2005-08-03  1:17     ` 2.6.13-rc3-mm3 Martin J. Bligh
2005-08-03  4:21       ` 2.6.13-rc3-mm3 Martin J. Bligh
2005-08-07 23:23         ` 2.6.13-rc3-mm3 Martin J. Bligh
2005-07-29  6:02 ` 2.6.13-rc3-mm3 Martin J. Bligh
2005-07-29 23:05 ` 2.6.13-rc3-mm3 Khalid Aziz
2005-07-29 23:17   ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-30 15:33     ` 2.6.13-rc3-mm3 Khalid Aziz
2005-07-30 18:02       ` 2.6.13-rc3-mm3 Andrew Morton
2005-08-01 15:36     ` 2.6.13-rc3-mm3 Bjorn Helgaas
2005-07-30 10:27 ` 2.6.13-rc3-mm3 Richard Purdie
2005-07-30 17:05   ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-31  9:04 ` 2.6.13-rc3-mm3 Manuel Lauss
2005-07-31  9:16   ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-31 11:12     ` 2.6.13-rc3-mm3 Manuel Lauss
2005-07-31 12:46     ` 2.6.13-rc3-mm3 Manuel Lauss
2005-07-31 17:35       ` 2.6.13-rc3-mm3 Andrew Morton
2005-07-31 18:21         ` 2.6.13-rc3-mm3 Manuel Lauss
2005-07-31 18:25   ` 2.6.13-rc3-mm3 Linus Torvalds
2005-07-31 18:41     ` 2.6.13-rc3-mm3 Manuel Lauss
2005-07-31 18:59       ` 2.6.13-rc3-mm3 Linus Torvalds
2005-07-31 21:35     ` 2.6.13-rc3-mm3 Stelian Pop
     [not found]     ` <Pine.LNX.4.58.0507311125360.29650@g5.osdl.org>
     [not found]       ` <1122846072.17880.43.camel@deep-space-9.dsnet>
     [not found]         ` <Pine.LNX.4.58.0507311557020.14342@g5.osdl.org>
2005-08-01 14:37           ` 2.6.13-rc3-mm3 Stelian Pop
2005-08-02  9:49             ` 2.6.13-rc3-mm3 Stelian Pop
2005-08-02 10:32               ` 2.6.13-rc3-mm3 Manuel Lauss
2005-08-02 11:40                 ` 2.6.13-rc3-mm3 Ivan Kokshaysky
2005-08-02 14:04                   ` 2.6.13-rc3-mm3 Manuel Lauss
2005-08-02 15:48                   ` 2.6.13-rc3-mm3 Linus Torvalds
2005-08-02 16:50                     ` 2.6.13-rc3-mm3 Ivan Kokshaysky
2005-08-02 17:11                       ` 2.6.13-rc3-mm3 Linus Torvalds
2005-08-02 21:13                         ` 2.6.13-rc3-mm3 Ivan Kokshaysky
2005-08-02 21:21                           ` 2.6.13-rc3-mm3 Greg KH
2005-08-02 21:47                             ` 2.6.13-rc3-mm3 Ivan Kokshaysky
2005-08-02 21:57                               ` 2.6.13-rc3-mm3 Linus Torvalds
2005-08-02 22:59                                 ` [patch 1/2] increase PCIBIOS_MIN_IO on x86 Ivan Kokshaysky
2005-08-02 23:09                                 ` [patch 2/2] ACPI: " Ivan Kokshaysky
2005-08-01  1:43 ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-01 16:10   ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-01 20:02     ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-01 20:36       ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-01 21:07         ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-01 21:16           ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-01 21:27             ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-01 21:40               ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-01 21:52                 ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-01 22:02                   ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-01 22:19                   ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-01 23:01                     ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-01 23:16                       ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-01 23:32                         ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-04  0:19                       ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-04 11:27                         ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-04 14:04                           ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-04 14:37                             ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-05 15:17                               ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-07 13:44                                 ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-08 16:48                                   ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-08 17:10                                     ` 2.6.13-rc3-mm3 Russell King
2005-08-08 17:15                                       ` 2.6.13-rc3-mm3 Christoph Lameter
2005-08-08 20:40                                     ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-08 22:12                                     ` 2.6.13-rc3-mm3 Richard Purdie
2005-08-09  0:57                                       ` 2.6.13-rc3-mm3 Christoph Lameter
2005-09-14 14:32 ` 2.6.13-mm3 and 2.6.14-rc1 both broken (SCSI?) Martin J. Bligh
2005-09-14 14:09   ` Anton Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2005-07-28 10:40 2.6.13-rc3-mm3 Sebastian Kaergel
2005-07-28  9:54 ` 2.6.13-rc3-mm3 Alexandre Buisse

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=m1hded4mgx.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm@xmission.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@mbligh.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