Date: Tue, 22 Jul 2003 12:43:54 +0200 From: Andrea Campi <andrea@webcom.it> To: Peter Wemm <peter@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/acpica acpi_wakeup.c Message-ID: <20030722104354.GA668@webcom.it> In-Reply-To: <200307212059.h6LKxS9Z064227@repoman.freebsd.org> References: <200307212059.h6LKxS9Z064227@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 21, 2003 at 01:59:28PM -0700, Peter Wemm wrote: > Modified files: > sys/i386/acpica acpi_wakeup.c > Log: > Commit Ian Dowse's workaround for acpi resume resetting after the > LAZY_SWITCH changes. He pointed out the acpi code sets up an identity > mapping in the current vmspace and that got messed up by the %cr3 being > out of sync with the current page directory. As a workaround, restore > %cr3 across the sleep/resume. A more complete fix would be to undo the > lazy state and clear the pm_active bit from the borrowed pmap, but this > works and people are currently hurting. I'll clean this up. > This is mostly Ian's patch, plus a PAE tweak from me. Thanks! This indeed fixes the issue I told you about. Bye, Andrea -- To boldly go where I surely don't belong.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030722104354.GA668>