Date: Thu, 19 Aug 2004 18:48:18 +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 Message-ID: <200408191848.i7JImIcq044415@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-08-19 18:48:18 UTC
FreeBSD src repository
Modified files:
sys/i386/acpica acpi_wakeup.c
Log:
Disable interrupts after using pmap_enter() to add the identity mapping.
Since pmap_enter() calls pmap_invalidate_page(), which needs interrupts
enabled in the SMP case, we defer the disable to right before saving the
register context. This has been incorrect for about a year but caused no
real problems because the identity page never actually replaces a previously
mapped page and suspend/resume on SMP systems has been uncommon.
Tested by: sos
MFC after: 3 days
Revision Changes Path
1.38 +1 -1 src/sys/i386/acpica/acpi_wakeup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408191848.i7JImIcq044415>
