Re: [PATCH][Fix][Resend] Fix Bug #4959: Page tables corrupted during resume on x86-64 (take 3)

From: Andi Kleen
Date: Wed Sep 28 2005 - 14:19:15 EST


On Wednesday 28 September 2005 16:24, Rafael J. Wysocki wrote:
> Hi,
>
> The following patch fixes Bug #4959.  For this purpose it creates temporary
> page translation tables including the kernel mapping (reused) and the
> direct mapping (created from scratch) and makes swsusp switch to these
> tables right before the image is restored.
>
> The code that generates the direct mapping is based on the code in
> arch/x86_64/mm/init.c.

Looks much better than before, but is there any reason you cannot
share the code with the mm/init.c code?

Also Suresh S. has a patch out to turn the initial page tables
into initdata. It'll probably conflict with that. Needs to be coordinated
with him.

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