kexec: Avoid overwriting the current pgd (V4)

These patches updates the kexec code for i386 and x86_64 to avoid overwriting
the current pgd. For most people is overwriting the current pgd is not a big
problem. When kexec:ing into a new kernel that reinitializes and makes use of
all memory we don't care about saving state.

But overwriting the current pgd not a good solution in the case of kdump
(CONFIG_CRASH_DUMP) where we want to preserve as much state as possible when
a crash occurs.

20060825: V4

- Updated i386 code to support PAE
- Added x86_64 support

20060803: V3

- i386-only, no PAE support
- Most of the code rewritten to address feedback
- Use static pages instead of dynamically allocated ones
- Setup page tables in assembly
- Do not touch the segment handling code

20060524: V2

- Broke out architecture-specific data structures into asm/kexec.h
- Fixed a i386/PAE page table problem only triggering on real hardware.
- Moved segment handling code into the assembly routines.

20060501: V1

- First release

Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to