Re: [PATCH] kexec jump: fix code size checking

Simon Horman
2008-08-13T05:51:33Z

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@verge.net.au>