Re: [patch] x86: fix ESP corruption CPU bug (take 2)

Andrew Morton
2005-03-15T03:36:43Z

Stas Sergeev <stsp@aknet.ru> wrote:
>
> Alan Cox wrote:
> >> Alan, can you please apply that to an -ac
> >> tree?
> > Ask Andrew Morton as it belongs in the -mm tree
> Actually I tried that already.

I added this patch to -mm.

> Andrew
> had nothing against that patch personally,
> as well as Linus, but after all that didn't
> work:
> http://lkml.org/lkml/2005/1/3/260
>
> So it can't be applied to -mm, and not
> depending on the kgdb-ga patch allowed for
> some extra optimization.

The rule is:

- If the patch patches something which is in Linus's kernel, prepare a
diff against Linus's latest kernel.

- If the patch patches something which is only in -mm, prepare a patch
against -mm.

In this case, I merged the patch prior to the kgdb patch and then fixed
up the fallout.

(If that causes kgdb to break in non-obvious-to-me ways then I might come
calling "help". We'll see)