Date: Wed, 14 Mar 2007 22:30:02 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/acpica acpi_wakeup.c src/sys/i386/i386 pmap.c Message-ID: <200703142230.l2EMU2Gi056810@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2007-03-14 22:30:02 UTC FreeBSD src repository Modified files: sys/i386/acpica acpi_wakeup.c sys/i386/i386 pmap.c Log: Create an identity mapping (V=P) super page for the low memory region on boot. Then, just switch to the kernel pmap when suspending instead of allocating/freeing our own mapping every time. This should solve a panic of pmap_remove() being called with interrupts disabled. Thanks to Alan Cox for developing this patch. Note: this means that ACPI requires super page (PG_PS) support in the CPU. This has been present since the Pentium and first documented in the Pentium Pro. However, it may need to be revisited later. Submitted by: alc MFC after: 1 month Revision Changes Path 1.46 +6 -11 src/sys/i386/acpica/acpi_wakeup.c 1.583 +7 -0 src/sys/i386/i386/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703142230.l2EMU2Gi056810>