public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Re: CPU hotplug boot change for IA64
Date: Mon, 05 Aug 2002 04:33:31 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590701905905@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905894@msgid-missing>

Rusty Russell wrote:
> 
> In message <20020802210541.0AB4.K-SUGANUMA@mvj.biglobe.ne.jp> you write:
> > Hi Rusty,
> >
> > On Sat, 03 Aug 2002 13:29:02 +1000
> > Rusty Russell <rusty@rustcorp.com.au> wrote:
> >
> > > > Rusty, I guess this modification should be needed for i386, too.
> > >
> > > You should *not* be calling smp_call_function before smp_prepare_cpus.
> > >
> > > I know kgdb can do this, but it's a special case.
> >
> > OK.
> > I cannot remember who was calling smp_call_function, but I think
> > it might be kdb. I'm using kdb for debugging in usual.
> 
> Yes, in which case the fix I asked Andrew Morton to use was:
> 
>         /* Before smp_prepare_cpus, cpu_online not usable */
>         if (num_online_cpus() > 1)
>                 smp_call_function(...)

It works, too.  http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.30/kgdb.patch


  parent reply	other threads:[~2002-08-05  4:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-02 21:44 [Linux-ia64] Re: CPU hotplug boot change for IA64 David Mosberger
2002-08-02 22:18 ` Kimio Suganuma
2002-08-03  0:53 ` Kimio Suganuma
2002-08-03  3:29 ` Rusty Russell
2002-08-03  4:10 ` Kimio Suganuma
2002-08-05  1:19 ` Rusty Russell
2002-08-05  4:33 ` Andrew Morton [this message]
2002-08-06 18:33 ` Erich Focht
2002-08-06 20:26 ` Kimio Suganuma
2002-08-08  4:19 ` Kimio Suganuma

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=marc-linux-ia64-105590701905905@msgid-missing \
    --to=akpm@zip.com.au \
    --cc=linux-ia64@vger.kernel.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