All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Keir Fraser <keir.xen@gmail.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: KEXEC: allocate crash note buffers at boot time v5
Date: Fri, 2 Dec 2011 16:55:36 +0000	[thread overview]
Message-ID: <4ED90308.8010508@citrix.com> (raw)
In-Reply-To: <4ED90D130200007800065290@nat28.tlf.novell.com>

On 02/12/11 16:38, Jan Beulich wrote:
>> patch, Xen will give crash areas for all pcpus up to nr_cpu_ids, which
>> covers all the cases.  The worst that will happen is that some crash
>> notes do not get written if certain cpus are offline at the time of a crash.
> And did you check that nothing in the producer or consumer chain gets
> confused by this new behavior?
>
> Jan
>

/proc/vmcore reported by the kdump kernel is fine, even with extra notes
which have 0 contents (after I deliberately caused kexec_get_cpu to
report 1 more cpu than was present for testing exactly this)

The producer/consumer chain will not change.  There was a case
previously where a CPU which was present at boot and subsequently
offlined would leave crash notes with 0's in them.  Therefore, if a tool
couldn't deal with that case, it wont be able to deal with this case. 
If a tool could deal with that case, it can deal with the new case.

I would hazard a guess that most of the time, we will boot on all CPUs
and crash with all of those CPUs still up, so it is more likely that
there will be no 0'd notes.

(When I say a 0'd note, I mean a note with correct header, type and
name, but 0's in the desc)

-- 
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

  reply	other threads:[~2011-12-02 16:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02 16:11 KEXEC: allocate crash note buffers at boot time v5 Jan Beulich
2011-12-02 16:27 ` Andrew Cooper
2011-12-02 16:38   ` Jan Beulich
2011-12-02 16:55     ` Andrew Cooper [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-29 11:19 [RFC] KEXEC: allocate crash note buffers at boot time Keir Fraser
2011-11-30 13:14 ` Andrew Cooper
2011-11-30 17:24   ` [RFC] KEXEC: allocate crash note buffers at boot time v2 Andrew Cooper
2011-12-01  9:08     ` Jan Beulich
2011-12-01  9:49       ` Andrew Cooper
2011-12-01 10:01         ` Jan Beulich
2011-12-01 12:29           ` [RFC] KEXEC: allocate crash note buffers at boot time v3 Andrew Cooper
2011-12-01 12:56             ` Jan Beulich
2011-12-01 15:02               ` Andrew Cooper
2011-12-01 15:15                 ` Jan Beulich
2011-12-01 17:14                   ` [RFC] KEXEC: allocate crash note buffers at boot time v4 Andrew Cooper
2011-12-02  8:02                     ` Jan Beulich
2011-12-02 12:33                       ` Andrew Cooper
2011-12-02 15:19                         ` KEXEC: allocate crash note buffers at boot time v5 Andrew Cooper
2011-12-02 16:04                           ` Jan Beulich

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=4ED90308.8010508@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=keir.xen@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.