Re: amd64-agp vs. swsusp

Pavel Machek
2005-07-21T15:21:04Z

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.