public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@cyclades.com>
To: Dave Jones <DaveJ@redhat.com>
Cc: Andi Kleen <ak@suse.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: for_each_online_cpu broken ?
Date: Fri, 09 Dec 2005 10:03:30 +1000	[thread overview]
Message-ID: <1134076293.7235.51.camel@localhost> (raw)
In-Reply-To: <20051208062844.GF28201@redhat.com>

Hi.

On Thu, 2005-12-08 at 16:28, Dave Jones wrote:
> On Thu, Dec 08, 2005 at 04:22:05PM +1000, Nigel Cunningham wrote:
> 
>  > > Yep, I noticed it offers a maximum of 6 cpus on my way.
>  > > As a sidenote, seems kinda funny (and wasteful maybe?), doing this
>  > > on a lot of hardware that isn't hotplug capable. (Whilst I could
>  > > disable cpu hotplug in my local build, this isn't an answer for
>  > > a generic distro kernel).
>  > 
>  > Both suspend to disk (and suspend to ram?) implementations now depend on
>  > hotplug_cpu to enable extra cpus, so there is at least one reason for
>  > them to want hotplug support in a generic kernel.
> 
> You mean suspend -> plug in a new cpu -> resume transitions ?
> That sounds *terrifying*.

Andi is right, it's just a logical unplug. But having said that, I
suppose extra cpus could be plugged/unplugged during a suspend to disk.
Not that I've ever tried it. I have a real SMP mobo, but haven't had the
opportunity to fire it up.

Regards,

Nigel


  parent reply	other threads:[~2005-12-09  0:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08  5:07 for_each_online_cpu broken ? Dave Jones
2005-12-08  5:26 ` Andi Kleen
2005-12-08  5:33   ` Dave Jones
2005-12-08  5:38     ` David S. Miller
2005-12-08  6:12       ` Andi Kleen
2005-12-08  6:27         ` Dave Jones
2005-12-08  6:22     ` Nigel Cunningham
2005-12-08  6:28       ` Dave Jones
2005-12-08  6:30         ` Andi Kleen
2005-12-09  0:03         ` Nigel Cunningham [this message]
2005-12-08  6:30     ` Andi Kleen
2005-12-08  6:43       ` Dave Jones

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=1134076293.7235.51.camel@localhost \
    --to=ncunningham@cyclades.com \
    --cc=DaveJ@redhat.com \
    --cc=ak@suse.de \
    --cc=linux-kernel@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