From: "Magnus Damm" <magnus.damm@gmail.com>
To: "Andi Kleen" <ak@suse.de>
Cc: "Magnus Damm" <magnus@valinux.co.jp>,
ebiederm@xmission.com, linux-kernel@vger.kernel.org,
fastboot@lists.osdl.org
Subject: Re: [PATCH] kexec: Avoid overwriting the current pgd (x86_64)
Date: Tue, 2 May 2006 16:21:22 +0900 [thread overview]
Message-ID: <aec7e5c30605020021v3c3225eftfddfd2226b2cdf0c@mail.gmail.com> (raw)
In-Reply-To: <p73ejzc7wm0.fsf@bragg.suse.de>
[re-added fastboot list]
On 02 May 2006 08:45:59 +0200, Andi Kleen <ak@suse.de> wrote:
> Magnus Damm <magnus@valinux.co.jp> writes:
>
> > --===============82697867595349228==
> >
> > kexec: Avoid overwriting the current pgd (x86_64)
> >
> > This patch upgrades the x86_64-specific kexec code to avoid overwriting the
> > current pgd. Overwriting the current pgd is bad when CONFIG_CRASH_DUMP is used
> > to start a secondary kernel that dumps the memory of the previous kernel.
>
> Why is it bad?
Because in the kdump case (CONFIG_CRASH_DUMP) we store the memory
contents of the crashed kernel somewhere to later on be able to
analyze it. And it makes sense to avoid overwriting things because we
want to analyze the _original_ state when the kernel crashed, not some
half-overwritten state.
Thanks,
/ magnus
prev parent reply other threads:[~2006-05-02 7:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-01 9:52 Magnus Damm
2006-05-02 6:45 ` Andi Kleen
2006-05-02 7:21 ` Magnus Damm [this message]
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=aec7e5c30605020021v3c3225eftfddfd2226b2cdf0c@mail.gmail.com \
--to=magnus.damm@gmail.com \
--cc=ak@suse.de \
--cc=ebiederm@xmission.com \
--cc=fastboot@lists.osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=magnus@valinux.co.jp \
/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®