]> err.no Git - linux-2.6/commit
[PATCH] kdump: read previous kernel's memory
authorVivek Goyal <vgoyal@in.ibm.com>
Tue, 10 Jan 2006 04:51:50 +0000 (20:51 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:28 +0000 (08:01 -0800)
commit4ae362be509306eafa6441603686d33fefe321c1
treed16a59e9c85945a6cc4a0945c80c0ecd97815923
parentec9ce0dbaa734bc95ec73cf5c13f202f1adb219d
[PATCH] kdump: read previous kernel's memory

- Moving the crash_dump.c file to arch dependent part as kmap_atomic_pfn is
  specific to i386 and highmem may not exist in other archs.

- Use ioremap for x86_64 to map the previous kernel memory.

- In copy_oldmem_page(), we now directly copy to the user/kernel buffer and
  avoid the unneccesary copy to a kmalloc'd page.

Signed-off-by: Rachita Kothiyal <rachita@in.ibm.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/Makefile
arch/i386/kernel/crash_dump.c [new file with mode: 0644]
arch/x86_64/kernel/Makefile
arch/x86_64/kernel/crash_dump.c [moved from kernel/crash_dump.c with 60% similarity]
fs/proc/vmcore.c
kernel/Makefile