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

From: Simon Horman
Date: Wed Aug 13 2008 - 01:51:36 EST


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@xxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/