Re: [PATCH] x86: include ENTRY/END in entry handlers in entry_64.S

From: Ingo Molnar
Date: Sun Nov 23 2008 - 08:24:29 EST



* Alexander van Heukelum <heukelum@xxxxxxxxxxxxx> wrote:

> Impact: cleanup of entry_64.S
>
> Except for the order and the place of the functions, this
> patch should not change the generated code.
>
> Signed-off-by: Alexander van Heukelum <heukelum@xxxxxxxxxxx>
>
> ---
> arch/x86/kernel/entry_64.S | 259 +++++++++++++++++++-------------------------
> 1 files changed, 109 insertions(+), 150 deletions(-)

applied to tip/x86/irq, thanks Alexander!

> > Something like:
> >
> > PARANOID_ERROR_ENTRY(stack_segment)
>
> I chose to just reuse the existing names, but it's bikeshedding, so
> change it if you like ;)

yeah. But such things, if they pile up long enough, can result in real
problem. entry_64.S is the result of such a degenerative process.

> I now know why I did not hit the bug that was fixed by "x86: split
> out some macro's and move common code to paranoid_exit, fix"...
> *blush* I was doing my real-world testing using an i386-image of
> debian.

heh, that indeed explains :)

Ingo
--
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/