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:27:54 +0000	[thread overview]
Message-ID: <4ED8FC8A.7040002@citrix.com> (raw)
In-Reply-To: <4ED906BA020000780006523E@nat28.tlf.novell.com>

On 02/12/11 16:11, Jan Beulich wrote:
>>>> On 02.12.11 at 16:59, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
>> On 02/12/11 15:43, Jan Beulich wrote:
>>> I just had another look at the Dom0 side of things, and I fail to see why
>>> you think boot time allocation is necessary: All Dom0 does with the
>>> provided info is set up the resource tree. The data doesn't get stored
>>> for any post-boot use. What am I overlooking?
>> /sbin/kexec opens /proc/iomem and looks for "Crash note" and interprets
>> the range values.  This is how it grabs the locations to pack into its
>> magic binary package.
> So how does the hotplug scenario then get handled on native? I can't
> imagine they expect things to remain stable across CPU unplug and
> re-activation.
>
> Jan

I am not how (or even if) the hotplug condition is handled on native.  I
guess it depends on what is put into the resource tree on boot.  With my
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.

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

  reply	other threads:[~2011-12-02 16:27 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 [this message]
2011-12-02 16:38   ` Jan Beulich
2011-12-02 16:55     ` Andrew Cooper
  -- 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=4ED8FC8A.7040002@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.