mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Booting when CPUs fail to come up.
Date: Fri, 20 Feb 2004 17:10:42 +0100	[thread overview]
Message-ID: <20040220161042.GI23278@elf.ucw.cz> (raw)
In-Reply-To: <20040213075743.7D1332C12A@lists.samba.org>

Hi!

> I recently played with setting a bit in cpu_possible_map that wasn't
> in cpu_online_map: this can happen without hotplug CPU when a CPU
> fails to boot, for example.
> 
> 1) i386 should use cpu_callin_map for num_booting_cpus() (an x86-ism
>    anyway): if a CPU doesn't come up, it will be set in
>    cpu_possible_map (aka cpu_callout_map) but not cpu_callin_map.
> 
> 2) When the cpu fails to come up, some callbacks do kthread_stop(),
>    which doesn't work without keventd (which hasn't started yet).
>    Call it directly, and take care that it restores signal state
>    (note: do_sigaction does a flush on blocked signals, so we don't
>    need to repeat it).

Is it safe to continue when one cpu is apparently malfunctioning?

								Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2004-02-20 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13  7:57 Rusty Russell
2004-02-20 16:10 ` Pavel Machek [this message]
2004-02-21  0:37   ` Rusty Russell
2004-02-21 13:33     ` Pavel Machek
2004-02-22  1:43       ` Rusty Russell

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=20040220161042.GI23278@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /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®