Re: Bug#234976: kernel-source-2.6.4: Software Suspend doesn't work

From: Herbert Xu
Date: Mon Apr 26 2004 - 05:57:00 EST


On Mon, Apr 26, 2004 at 07:48:34PM +1000, herbert wrote:
>
> A simple solution is to copy the pages in reverse. This way the
> top page table is filled in last which should resolve this particular
> issue. The following patch does exactly that and fixes the problem
> for me.

Of course this doesn't work for machines without PSE. But then the
original code didn't work either. Since resuming from 486's isn't
that cool anyway, IMHO someone should just add a PSE check in the
swsusp/pmdisk init code on i386.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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/