Re: [PATCH] kexec: Avoid overwriting the current pgd (x86_64)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[re-added fastboot list]

On 02 May 2006 08:45:59 +0200, Andi Kleen <[email protected]> wrote:
Magnus Damm <[email protected]> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux