[PATCH] kexec jump: fix code size checking

Simon Horman horms at verge.net.au
Wed Aug 13 01:51:24 EDT 2008


On Wed, Aug 13, 2008 at 01:18:12PM +0800, Huang Ying wrote:
> On Tue, 2008-08-12 at 20:40 -0700, Eric W. Biederman wrote:
> [...]
> > 4) Put the code is a special section .text.kexec? and have the linker
> >    always do the size comparison and the computation of the section size.
> > 
> > The fewer conditionals we have the less likely something is to break.
> 
> Yes. This one is good. But I think current one is acceptable too.

If you really think that 1) is the best way

Acked-by: Simon Horman <horms at verge.net.au>




More information about the kexec mailing list