Re: amd64-agp vs. swsusp

From: Pavel Machek
Date: Thu Jul 21 2005 - 10:22:22 EST


Hi!

> >Long time ago there were i386 problems because we assumed that kernel
> >is mapped in one big mapping and agp broke that assumption. Copying
> >pages backwards "fixed" it (and then we done proper fix). It should
> >not be, but it seems similar to this problem....
>
> Do you mean this patch of yours?:
> http://www.ussg.iu.edu/hypermail/linux/kernel/0404.3/0640.html

Yes.

> I'm trying to do something similar for x86_64. See the attached patch.
> Unfortunately, it doesn't help. The behaviour seems unchanged (resume
> still works iff amd64-agp wasn't loaded before suspend).

Are you sure problem is on level4_pgt? We probably use constant
level4_pgt but split pages at some deeper level. You may want try
saving 3rd-level table, instead.
Pavel
--
Boycott Kodak -- for their patent abuse against Java.
-
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/