Re: [2.6 patch] x86_64: re-add a newline to RESTORE_CONTEXT

From: Andi Kleen
Date: Tue Jan 09 2007 - 18:44:12 EST



>
> In other words we'll leave it in its present buggy form so that it will
> explode next time someone tries to use it for something new, rather than a)

It shouldn't be used for anything new. It's really a private macro
in the context switch code, nothing that any other code is supposed
to use.

> fixing that potential problem and b) fixing a real problem with a popular
> external GPLed product.

kgdb shouldn't need any patches to core kernel I had it some time ago running fine
just by hooking it into the die hooks (and minor changes to the serial layer,
with netpoll these shouldn't be even needed anymore)

If the kgdb people need more changes they should submit them.

But I suspect if they change RESTORE_CONTEXT they're doing something wrong
anyways and they just need to fix their code properly.

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