[RFC] Win32 port of the userspace tools using MinGW.

2008-05-16 Thread Jamey Sharp
OK, I haven't quite gotten around to posting the Windows kernel driver source that goes with this. So I'm not asking that this patch be merged, since nobody else can use it yet. :-) I'd love to get review, though: Does this look like it's in a mergeable state? I'm happy with it, but do I need to

[PATCH] Update KEXEC_ARCH_* constants from Linux kernel headers.

2008-05-16 Thread Jamey Sharp
Signed-off-by: Jamey Sharp [EMAIL PROTECTED] --- I thought I'd need this, but it turned out not to matter. I'm submitting it anyway because keeping kexec-tools in sync with the kernel kexec headers seems like a good idea. kexec/kexec-syscall.h |5 - 1 files changed, 4 insertions(+), 1

Re: [PATCH] kexec based hibernation: a prototype of kexec multi-stage load

2008-05-16 Thread Pavel Machek
Hi! During loading, a hash table mapped from destination page to source page is used instead of original linear mapping implementation. Because the hibernated image may be very large (up to near the size of physical memory), it is very time-consuming to search a source page given the

Re: [PATCH -mm] kexec jump -v9

2008-05-16 Thread Pavel Machek
On Fri 2008-05-16 09:48:34, Huang, Ying wrote: On Thu, 2008-05-15 at 16:09 -0400, Vivek Goyal wrote: [...] Ok, You want to make BIOS calls. We already do that using vm86 mode and use bios real mode interrupts. So why do we need this interface? Or, IOW, how is this interface better? It

Re: [PATCH] kexec based hibernation: a prototype of kexec multi-stage load

2008-05-16 Thread Vivek Goyal
On Fri, May 16, 2008 at 12:52:48PM +0800, Huang, Ying wrote: On Thu, 2008-05-15 at 19:55 -0700, Eric W. Biederman wrote: Huang, Ying [EMAIL PROTECTED] writes: The disadvantage of this solution is that kernel B must know it is original kernel (A) or kexeced kernel (B). Different code

Re: [PATCH] kexec based hibernation: a prototype of kexec multi-stage load

2008-05-16 Thread Vivek Goyal
On Thu, May 15, 2008 at 11:27:58PM -0400, Vivek Goyal wrote: On Fri, May 16, 2008 at 10:56:15AM +0800, Huang, Ying wrote: On Thu, 2008-05-15 at 19:25 -0700, Eric W. Biederman wrote: Huang, Ying [EMAIL PROTECTED] writes: On Thu, 2008-05-15 at 11:39 -0700, Eric W. Biederman wrote: