[PATCH -mm] kexec jump -v9

Vivek Goyal vgoyal at redhat.com
Thu May 15 16:09:23 EDT 2008


[..]
> > > +2:
> > > +	call	*%edx
> > 
> > > +	movl	%edi, %edx
> > > +	popl	%edi
> > > +	pushl	%edx
> > > +	jmp	2b
> > > +
> > 
> > What does above piece of code do? Looks like redundant for switching
> > between the kernels? After call *%edx, we never return here. Instead
> > we come back to "kexec_jump_back_entry"?
> 
> For switching between the kernels, this is redundant. Originally another
> feature of kexec jump is to call some code in physical mode. This is
> used to provide a C ABI to called code.
> 

Hi Huang,

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?

Do you have something in mind where/how are you going to use it?

Thanks
Vivek



More information about the kexec mailing list